GetProfileString()
Gets an initialization file entry.
An initialization file assigns values to configuration variables, also known as entries, that are set when the system boots, the operating system comes up, or an application starts.
Returns the entry - if no value, returns an empty string.
GetProfileString( iniPath=string, section=string, entry=string );
Returns: String
| Argument | Description |
|---|---|
|
iniPath
string,
required
|
edit
Absolute path (drive, directory, filename, extension) of initialization file; for example, C:\boot.ini |
|
section
string,
required
|
edit
Section of initialization file from which to extract information |
|
entry
string,
required
|
edit
Name of value to get |
Examples
editThere are currently no examples for this function.
See also
- File handling
- GetProfileSections()
- SetProfileString()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)