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 for the getProfileString function

inipath

Required: Yes

section

Required: Yes

entry

Required: Yes

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