How to Create an Environment Variable in Windows
1.a. For Windows 7, open the Start Menu and right click on Computer. Select Properties.
How to Create an Environment Variable in Windows.
1.b. For Windows 10, right click on the Start Menu and select System.
2. Select Advanced system settings.
3. In the Advanced tab, select Environment Variables.
4. Select New.
5. You will now be able to enter the environmental variable. Most environmental variables are given to you in the form "Variable_name=Variable_value". So if you were given the environmental variable "UGS_LICENSE_SERVERemail@example.com', you would enter "UGS_LICENSE_SERVER" in the Variable name field and "firstname.lastname@example.org" in the Variable value field as shown below.
6. Select OK. You should now see the new Environmental Variable that you created.