Инструменты пользователя

Инструменты сайта


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

iniName of the ini-file. May contain variables and environment variables.
sectionSection name in the ini-file.
keyKey name in the ini-file.
textText 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.
/RThe 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"
en/autorun/documentation/iniwrite.txt · Последнее изменение: 2022/09/26 13:01 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki