How to change environment variables in Windows 7


If you are a developer or want to change some system paths in Windows 7, you need to know how to change the environment variables. Do so carefully, because you can break your system if you don’t know what you are doing.

How to change system environment variables

1. Open up the Control Panel
2. Click on System and Security
3. Click on the System link:

Windows 7 System Settings

(The text “System” is a link)

4. In the sidebar click on “Advanced system settings”

Change advanced system settings in Windows 7

5. Go to the tab Advanced. At the bottom you will find a button labeled Environment Variables:

Windows 7 Environment Variables

6. Below system variables you will find for example the environment variable CLASSPATH. The CLASSPATH variables is often required for paths to PHP executables or similar (if you set up an Apache server locally).

Important: Keep in mind that environment variables are separated by a semi-colon.

Rate this article:
This article was rated 5 out of 5 stars
Based on 1 ratings

Windows 7: Path to Registry Directory
How To Resize Images From Command Line (Free Script)
Batch Script To Quickly Restart Windows 7/8 Explorer Or Other Processes

Juicy Logo White You love Windows, Gaming and everything digital? Great, we too! We have thousands of great Windows 7 themes, registry tweaks, tutorials, so please use our search box if you look for anything specific.

If you have some awesome desktop themes, tips or want to write for us, then drop us a mail!



Written by: Oliver Krautscheid
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common e.... Full Bio

Contact The Author: Get Free Help.png

Connect:

facebook google twitter LinkedIn


Need help? Ask a question at our QA site, click the red button to get started:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>