I do not understand why Windows 7 is still adopting this stuffy dialog box? I feel uncomfortable when editing and looking-up a path in this narrow text box.
Is there a convenient way to edit PATH in Windows 7? One item per row for example.
There is always the Rapid Environment Editor which claims full support for all major OS versions, including 64-bit.
Show environment variables and values as an editable tree.
RapidEE doesn't require installation and could be run as a "portable application". View details.
There is also the older (but still useful) and more light-weight Path Editor. (Note that the site is dead as of 2015-08-07, but still exists as an archive.org snapshot from 2013-03-27 — direct link to the installer). It works just fine on Windows 7 and, though it comes only as an installer, also works as a portable/stand-alone executable if you extract it.
Path Editor is a small utility that makes path management very straightforward with its intuitive user interface and drag-and-drop simplicity. Path Editor can clean your path of missing and duplicate entries with a single click of the mouse.
Here's another Windows Path Editor:
(Disclaimer: I made this. It's open source, contributions welcome!)
I understand the question specifically calls for a Windows 7 solution. However, I've posted this answer for the benefit of users who happen to come across this question.
Windows 10, in preview build 10565 and release build 10586 (November 2015 update), has an overhauled environment variable editor which dramatically eases editing PATH.
Environment variables editor (Eveditor) is also worth mentioning. It is easy to use and completely free.
Note: Image shows the Path expanded which it did not do on Windows 7 elevated.
For quick and dirty, copy and paste into Notepad then edit and copy and paste back.
you might consider this https://patheditor2.codeplex.com/ It does not depend on .Net bloat nor MFC; pure Win32; binary size is less than 200kb. No installation is required and it is a standalone executable. If it matters, it is open source
There's a pretty good open source CLI tool called pathed. Usage patterns are like so:
C:\Projects\2010\GSharpTools_Setup\bin>pathed /? PATHED - Version 3.2 Freeware written by Gerson Kurz (http://p-nand-q.com) USAGE: PATHED.EXE [OPTIONS] OPTIONS: /MACHINE: print machine PATH /USER: print user PATH /ADD: add variable at the head /APPEND: add variable at the tail /REMOVE: remove path / index /SLIM: strip duplicate vars /ENV: environment variable, defaults to PATH C:\Projects\2010\GSharpTools_Setup\bin>pathed PATHED - Version 3.2 Freeware written by Gerson Kurz (http://p-nand-q.com) 00 C:\Perl\site\bin 01 C:\Perl\bin 02 C:\Windows\system32 03 C:\Windows 04 C:\Windows\System32\Wbem 05 C:\Python26 06 C:\Tools 07 C:\Windows\System32\WindowsPowerShell\v1.0\ 08 C:\Program Files (x86)\TortoiseSVN\bin 09 C:\Program Files\TortoiseSVN\bin 10 C:\Program Files (x86)\doxygen\bin 11 C:\Program Files (x86)\WinMerge 12 C:\Program Files (x86)\Subversion\bin 13 C:\Program Files (x86)\p-nand-q.com\GSharpTools [INVALID] 14 C:\Program Files (x86)\p-nand-q.com\pserv2 [INVALID] 15 C:\Program Files (x86)\OpenVPN\bin 16 C:\Windows\Microsoft.NET\Framework\v3.5 17 C:\Windows\Microsoft.NET\Framework\v2.0.50727 18 C:\Program Files (x86)\Scintilla Text Editor 19 C:\Program Files\7-Zip 20 C:\Program Files (x86)\PostgreSQL\8.4\bin 21 C:\Program Files (x86)\Java\jdk1.6.0_18\bin 22 C:\Program Files (x86)\IZArc ; pathed /REMOVE "%CD%" ; pathed /APPEND "%CD%" ; pathed /MACHINE ; and so on.
You'll need to run it as Administrator for the changes to take affect, though.
A quick and easy way to edit PATH from the command line:
C:\WINDOWS>setx PATH "PATH;C:\some_new_path"
This will update the PATH by appending the new path to the existing path value. Typing the following command will print the new PATH in all future CMD windows; NOT in the current CMD window:
Typing the following will give you a list of all the environment variables:
Here is an Online Tool for editing windows path, if you don't want to install software.