%IniSet%    Show Routine Code    Author: Siegfried


Version: 1  -  Date: 2007-02-15

 

Example calls:
%IniSet% "%PEroot%\input.inf" "input" "langfile" "%LANG%.lng"
%IniSet% "Example.inf" "Section" "Key" "My_Test_Value" "quote"

Remarks:
Writes to text files with INI structure.

Param. 1 = Path to INI file. May be any textfile with INI structure.
Param. 2 = Section
Param. 3 = Key
Param. 4 = Value

Param. 5 = Leave Param. 5 empty to write the value unquoted.
If parameter 5 is "quote", the value will be written with quotation marks like Key="My_Test_Value"