How do I set an environment variable in windows?

How do I set an environment variable in windows?

 3
Author: Nicolas Chabanovsky, 2010-10-24

1 answers

For a one-time variable action, open the console and run the command

set VAR_NAME=VAR_VALUE

For the constant action of the variable, you need to go to "My computer", right-click, select properties, the "Advanced"tab. Next, select "Environment Variables". In the form that appears, create a new variable.

 7
Author: Nicolas Chabanovsky, 2015-10-14 06:46:43