Read Variable Environment

This component mounts to retrieve environment variables

Parameters

workstation

Workstation: the name or IP address of the computer on which you want to retrieve an environment variable

Create a row with Add rows

workstation

Create a variable like "Var_System" with a value "PATH" to indicate that you want to read the environment variable PATH:

Variables

Then you select the variable:

Now you can launch the treatment:

workstation

The result is available in the following variables:

To use these variables you must respect following syntax:

{Treatment name.ENV_EXIST_0} and {Treatment name.ENV_VALUE_0}

Example:

{Read environment variables.ENV_VALUE_0}
{Read environment variables.ENV_EXIST_0}

workstation

Example 2:

Reading environment variable, you can use a Variable Calculation treatment to set the properties {Read environment variables.ENV_VALUE_0} and {Read environment variables.ENV_EXIST_0} in another variable

workstation Get the world's favorite Script generator at http://www.paseosoft.com/