====== IniWrite ====== IniWrite [/EV-]
[] Writing value into given configuration file. If writing failed, command set **ERROR** macro to 1. **Parameters** |< 100% 15% >| |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** |< 100% 15% >| |/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** [[IniDelete]], [[IniRead]] **Example** Writes the value 1000 to the Total Commander configuration for the "test" key of the "Configuration" section: IniWrite %COMMANDER_INI% "Configuration" "test" "1000"