ghacks Technology News

Editing the Windows System Path Variables

If you ever did try to change the Windows system path variables then you might have cursed Microsoft for creating such a tiny form to edit those variables. The system path is being used by Windows to find executables and dependencies in Windows which will be used to find an application if you use the run box in Windows for instance. A system wide path and a user defined path exists with the system wide path having priority over the user defined one.

The order of the entries is important as well since the first hit will be selected by Windows. Now if you take a look at your system paths you notice that the Windows form is completely useless. You can access those variables by accessing the System Properties in the Control Panel, clicking on the Advanced tab there and then on the Environment Variables button. If you highlight the path variable and click on Edit you know what I mean.

The window that is opening is displaying 30 or 40 chars only and you have to scroll to see all entries which is not really helping to keep an overview of all the path variables. You could copy and paste the line into a text editor, edit it there and copy and paste it back when your finished but there is a better solution available.

edit path variable

Redmond Path 1.0 [via Shell Extension City] displays the path variables the way Microsoft should have done it a long time ago. I’m wondering why those things are never fixed in updates or new Windows releases. You can raise and lower variables, remove them, edit them and add new ones.

redmond path

Redmond path comes with a rollback option, supports Windows XP, Windows Vista and Windows 2003 and requires the .net framework.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Edit Environment Variables and find invalid ones
Copy to Path Hidden Vista Feature
Adding a directory to your $PATH
Web Development: Standardizing variables to code faster
Passing variables using in the URL



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Tuesday April 15, 2008 -
Tags:, , ,


Responses so far:

  1. mouser says:

    cough cough..
    from 2005: System Path Commander
    (freeware)

    http://www.donationcoder.com/Software/Other/Spc/index.html

    “System Path Commander is a power-user tool that allows you to easily and safely non-destructively enable and disable directories in your windows system path environment variable (the paths searched when launching programs).”

  2. tireless says:

    easiest way:
    1.run:
    reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment” /v Path /t REG_EXPAND_SZ /d “%path%;c:\test” /f

    2.run:
    nircmd sysrefresh

    • david says:

      note that your editor “corrected” your normal quotes in the reg add command to smart quotes that aren’t supported by the reg add syntax.

  3. Angelo R says:

    Thanks for this one Martin, it normally takes me a couple minutes of going through the list before I get sick of it and just copy and paste everything into notepad. That way I can at least somewhat make sure I’m not adding things/removing things that I shouldn’t be.

    As soon as I ran it, I noticed a few entries that been double-entered as well as one entry that was pointing in the right location.

  4. Nitin says:

    I accidently edited path variable from windows xp, my pc is not starting xp, when i select xp it reboots again and again,

    Now i have vista installed on my pc,
    pls tell me how to edit xp environment variables from vista?? reply to nitin_sawant89@rediffmail.com

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us