The Set Environment Variable action is used to set the value of an environment variable, or to create a new environment variable and set its value.
From the Task Builder Available Actions pane, open the Environment Variables folder and double-click the Set Environment Variable action or drag it into the Steps pane.
In the Environment variable name box enter the name.
In the Environment variable scope box, select User, Machine, or Process.
In the New Value box enter the value for the environment variable.
If you are creating a new environment variable, select Create environment variable only if it does not exist.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Set Environment Variable Action