====== IniRead ======
IniRead
Read the value from given configuration file.
**Parameters**
|< 100% 15% >|
|var|Name of the variable that will receive the value.|
|ini|Name of the ini-file. May contain variables and environment variables.|
|section|Section name in the ini-file.|
|key|Key name in the ini-file.|
|default value|Text that will be written to the variable, if key is absent in the file. If omitted, empty value will be written.|
**Switches**
|< 100% 15% >|
|/R|The command will take into account the presence of the RedirectSection key in the given section.|
**Related**
[[IniDelete]], [[IniWrite]]
**Example**
Reads from the Total Commander configuration the value of the "test" key in the "Configuration" section:
IniRead MYVAR %COMMANDER_INI% "Configuration" "test"