Reads an INI file

This component mounts to retrieve INI file

Parameters

INI file path: the directory and the name of the INI file that you want to read

The INI file is like that:

[PARAM_SRV]
Server_source=SRVMA01

Create row

Create a row with Add row to parameters

INI file path

Create a variable

New variable

Launch the treatment

Then you select the variable:

Now you can launch the treatment:

Section key

Results

The result is available in the following variables:

Syntax

To use these variables you must respect following syntax:

{Treatment name.INI_EXISTS_0} and {Treatment name.INI_VAL_0}

Example:

{Read INI file.INI_VAL_0}
{ Read INI file.INI_EXISTS_0}

Treatment

Variables Calculation

After reading INI variable you can use a Variable Calculation treatment to set the properties {Read INI file.INI_VAL_0} and { Read INI file.INI_EXISTS_0} in another variables:

Variable formula Get the world's favorite Script generator at http://www.idoo.com/idootools