@INIREAD[file,section,entry]:  Returns the value of the first matching entry from the specified file, or an empty string if either file or the entry in file does not exist. If file contains more than one section named section, only the first one is searched for entry.

 

File, section, and entry must be in quotes if they contain white space or special characters.

 

File selection

 

Both the name and extension of file must be specified. This function does not apply a default extension. If file does not explicitly include a path, @INIREAD uses %Windir, the Windows installation directory. To use the current directory, you must explicitly specify it, e.g., using .\ as the path.

 

Example

 

%@iniread[c:\tcmd\tcmd.ini,TakeCommand,history]

 

returns the size of the command history if it is specified in TCMD.INI.