There's a pretty good open source CLI tool called pathedpathed. 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.