Take Command / TCC Help v. 13.03

@INIREAD

Hide Navigation Pane

@INIREAD

Previous topic Next topic No directory for this topic No expanding text in this topic  

@INIREAD

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

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

 

Comments (...)