Modify and / or display environment variables in Windows

Page 1 / 1

It is sometimes interesting to know or modify an environment variable. That many programs is changing the variable named "PATH". This is a variable containing a list of paths where Windows will look for the exe, .bat file, ... to start (if you do not directly specified where is a particular program). This variable also allows some programs to find the dll they need without having to copy them to the "C:\Windows\System32" folder.

  1. Windows XP
  2. Windows Vista / 7
  3. Windows 8

1. Windows XP

In Windows XP, go to the start menu and right click on "My Computer" -> Properties.

Then go to the "Advanced" tab and click on the bottom of the window "Environment Variables" button.

You will find a list of system variables as well as those specific to your user account.
To change an environment variable, select it and click "Edit".

Warning : If you want to change the variable "PATH" or "PATHEXT" delete any case what is there at the moment because it will prevent your computer and several programs run correctly. To add a path in this variable, add a ; at the end and enter the path to add, behind this ;

2. Windows Vista / 7

Windows Vista or Windows Seven, go to the start menu and right click on "Computer" -> Properties.
Then click on the left menu "Advanced System Settings".

Then go to the tab "Advanced System Settings" (if it isn't already do) and click on the "Environment Variables" button on bottom of the window.

You will find a list of system variables as well as those specific to your user account.
To change an environment variable, select it and click "Edit."

Warning : If you want to change the variable "PATH" or "PATHEXT" delete any case what is there at the moment because it will prevent your computer and several programs run correctly. To add a path in this variable, add a ; at the end and enter the path to add, behind this ;

3. Windows 8

Windows 8, go to the bottom right corner of the screen and click the gear named "Settings" then "PC informations".

Then, the procedure is identical to that of Windows Vista and Windows 7.
So, click on the left menu and then in the (if not already) "Advanced System Settings" tab "Advanced System Settings", click the "Environment Variables" at the bottom of the window.