en:autorun:documentation:iniwrite
IniWrite
IniWrite [/EV-] <ini> <section> <key> [<text>]
Writing value into given configuration file. If writing failed, command set ERROR macro to 1.
Parameters
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. |
text | Text that will be written in the given key. If omitted, empty value will be written. |
Switches
/EV- | Disables the use of variables and environment variables in the text. |
/R | The command will take into account the presence of the RedirectSection key in the given section. |
Related
Example
Writes the value 1000 to the Total Commander configuration for the «test» key of the «Configuration» section:
IniWrite %COMMANDER_INI% "Configuration" "test" "1000"
en/autorun/documentation/iniwrite.txt · Последнее изменение: 2022/09/26 13:01 — loopback