To add a new system variable:
Go to
Control panel
→
System
→
Advanced system settings
.
Click the
Environment Variables...
button
.
Under
System variables
group
, click
the
New...
button.
Specify the name and value of variable.
Click
the
OK
button.