Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function 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.

Example

getprofilestring(string iniPath,string section,string entry):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
iniPath string  Yes Absolute path (drive, directory, filename, extension) of initialization file; for example, C:\\boot.ini  
section string  Yes Section of initialization file from which to extract information  
entry string  Yes Name of value to get