Skip to main content

Set Process Environment Variable

Adds a value from an environment variable to the user settings in the Run Tool.

To add this to your Run Tool project click onto the Add Step button and select Set Process Environment Variable from the list. Then click OK to open the configuration window.

Set Environment Variable

To configure the step select an Environment Variable from the dropdown list and define the value to set it as. By default an error will be thrown if the value is empty however you can disable this by unchecking the checkbox.

Configuration

Clicking OK will add the step to the bottom of your project. You can then move this to where you need it to be, set the run condition and save the project.

To view all the available environment variables open the command line terminal and type in set. This will return a list of all the environment variables for your machine.