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

getProfileString Argument Reference

inipath string
Required

section string
Required

entry string
Required

Examples sample code invoking the getProfileString function


Tag Syntax

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

Fork me on GitHub