Do the following:
- From the Control Panel click the System Button or type Environment variables in the search field.
(XP Users) Click on the Advanced Tab
(Vista, 7 and 8) Click on Advanced System Settings
- Click Environment Variables...
- Click New...
- Variable Name: enter_variable_name_here
- Variable Value: enter_variable_value_here
- Press OK to set the Environment variable
- Press OK to close the Environment Variables dialog.
I want to define an environment variable in Windows.