Search and eventually replace text in a file
Parameters
INI file path: the directory and the name of the INI file that you want to write
The INI file must exist.
Create Row
Create a row with 
Create Variable
Create a variable like "Section_to_write" with a value "PASEO_PARAM" corresponding to:
- the section that you want to create in the INI file or
- the section already exist
Create a variable like ‘Key_to_write" with a value "Version" corresponding to:
- the key that you want to create in the INI file or
- the section already exist.
Create a variable "Key_Value" with a value "6.0" corresponding to the value of the key "Key_to_write"
Select Variable
Then you select the variable:
- "Section_to_write" in the column Section
- "Key_to_write" in the column Key
- "Key_Value" in the column Value
- Select "Create" in the column Action if Missing
Now you can launch the treatment:
Results
The result is available in the following variables:
- INI_CREATE_0 indicate that the INI variable was created
- INI_EXIST_0 indicate that the INI variable already exist
To use these variables you must respect following syntax:
{Treatment name.INI_CREATE_0} and {Treatment name.INI_EXISTS_0}
Example:
- {Write INI File.INI_CREATE_0}
- {Write INI File.INI_EXISTS_0}
Get the world's favorite Script generator at http://www.paseosoft.com/