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. StepOpen up the Control Panel
2. Step Click on System and Security
3. Step Click on the System link:

Windows 7 System Settings

(The text “System” is a link)

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

Change advanced system settings in Windows 7

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

Windows 7 Environment Variables

6. Step 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.

5 of 5 0 (100%) 1 vote
- Cheers!

Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates:

Contact The Author:

Get Free Help

Connect With Our Site:



Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link ( and save money at the same time:

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>

Current day month ye@r *