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, section, entry) → returns string

Argument Reference

inipath string
Required

section string
Required

entry string
Required

Examples
Sample code invoking the getProfileString function

<cfset IniPath = "c:\myboot.ini"> 
 <cfset Section = "boot loader"> 
 <cfset timeout = getProfileString(IniPath, Section, "timeout")>    

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub