EditPath is a command-line tool for Windows NT 4.0 and later that lets
you add and remove individual directories from the system or current
user path by modifying the appropriate registry entries:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
and
HKCU\Environment\Path
If EditPath updates the registry, it sends Windows a message that the
Path was updated.
It can also list each directory in the system or current user path, one
per line, with or without expanding environment variable references.
License: Freeware, no restrictions.
New in version 2: EditPath now correctly handles path strings that
contain multiple consecutive semicolons.
Hope this is useful.
URL:
http://www.cybermesa.com/~bstewart/misctools.html
--
Bill Stewart