To add, remove or edit Environment variables in Windows 7 follow these simple steps:
1) Right click on the Computer icon on your Desktop and choose Properties option.
Figure 1
2) In the System window click on Advanced system settings in the left pane as highlighted
below
Figure 2
3) In the System Properties window select Advanced tab and click on Environment
Variables…button given at the bottom of the window as highlighted below
Figure 3
4) In the Environment Variables window you will notice two columns User variables for a
username and System variables.
Figure 4
5) Now to add a new User variable click on New… button. In the New User Variable dialog box
type the Variable name and Variable value and click OK button
Figure 5
OR
To remove a User variable click on the required User variable and then click on Delete button.
OR
To edit a User variable click on Edit… button. In the Edit User Variable dialog
box edit the Variable name and Variable value and click OK button
Figure 6
Note: If you want to add, remove or edit System Variables then repeat this step under System
variables column but be careful while doing this.
6) Click OK button in the Environment Variables dialog window
7) Click OK on System Properties window
8) Close System window