Modifies an INI file.
Action ID: 18
Action Category:
INI Files
The action to perform on the INI file:
Set Value - Sets a value in the INI file.
Delete Value - Deletes a value from the INI file.
Delete Section - Deletes an entire section from the INI file.
The name of the INI file.
The name of the INI file section to operate on.
The name of the INI file value to modify.
The data to write to the INI file value (i.e., the data to store in the INI file).
Value |
Simple Message |
Simple Message |
0 (OK) |
|
|
1 |
Could not modify INI file. |
Could not set value. |
2 |
Could not modify INI file. |
Could not delete value. |
3 |
Could not modify INI file. |
Could not delete section. |
In this example, we will write the registered user's name into a custom INI file named settings.ini.
Note: %AppDir% and %RegOwner% are both built-in variables.
INI file Action: Set Value
Filename: %AppDir%\settings.ini
Section: User Info
Value name: Name
Value data: %RegOwner%
See Also: Alphabetical List of Actions, Categorical List of Actions, On Error tab