Writes a value to a standard format .ini file.
|IniWrite, Value, Filename, Section, Key|
|Value||The string or number that will be written to the right of Key's equals sign. If the text is long, it can be broken up into several shorter lines by means of a continuation section, which might improve readability and maintainability.|
|Filename||The name of the .ini file, which is assumed to be in %A_WorkingDir% if an absolute path isn't specified.|
|Section||The section name in the .ini file, which is the heading phrase that appears in square brackets (do not include the brackets in this parameter).|
|Key||The key name in the in the .ini file.|
ErrorLevel is set to 1 if there was a problem or 0 otherwise. However, if the script is of type .aut (AutoIt v2), ErrorLevel is not changed (for compatibility reasons).
A standard ini file looks like:
IniDelete, IniRead, RegWrite
IniWrite, this is a new value, C:\Temp\myfile.ini, section2,