IniRead

IniRead <var> <ini> <section> <key> [<default value>]

Read the value from given configuration file.

Parameters

varName of the variable that will receive the value.
iniName of the ini-file. May contain variables and environment variables.
sectionSection name in the ini-file.
keyKey name in the ini-file.
default valueText that will be written to the variable, if key is absent in the file. If omitted, empty value will be written.

Switches

None.

Related

IniDelete, IniWrite