From: bbiker Date: 2007-02-11T08:55:08+09:00 Subject: Re: - PathEditor 1.0.0 - A command line utility for managing your Window's Path On Feb 7, 10:54 am, "Justin Bailey" wrote: > On 2/7/07, C�dric Finance wrote: > > > It would be a nice and easy enhancement to print the reason for path > > removal. > > Done! It will take an hour or so for the updated gem to appear on > RubyForge, but let me know how it works out for you. > > Justin Just downloaded patheditor 1.0.2 You were right, I did not have a c:swig directory, so that path was correctly removed? Is there any for you to modify patheditor can use both the system and user paths. echo %path% concatenates both paths. Possibly use a parameter which specify the path type. path_editor --system | -s path_editor --user | -u if no path type specified default to system. Some applications will by default add a path to the user's and not to the system's path? In meantime, I decided to move the one of the path from user to system. It worked as far as I can tell .. obviously it is in the user path ... I intend to remove it C:\Documents and Settings\Owner>path_editor Current path entries: C:\Tcl\bin C:\Program Files\graphicsmagick-1.1.7-q16 C:\Program Files\imagemagick-6.2.8-q16 C:\Program Files\Microsoft DirectX 9.0 SDK (October 2005)\Utilities\Bin\x86 C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\Program Files\ATI Technologies\ATI Control Panel C:\p2x C:\Program Files\Microsoft Visual Studio 8\VC\Bin C:\Program Files\Microsoft Visual Studio 8\Common7\IDE C:\Program Files\Microsoft Platform SDK\Bin\win64 C:\Program Files\IDM Computer Solutions\UltraEdit-32 C:\Program Files\IDM Computer Solutions\UltraCompare C:\Perl\bin C:\ruby\bin For test purposes, I attempted to remove the ruby path from the system. As you can see, it failed. C:\Documents and Settings\Owner>path_editor --remove "C:\ruby\bin" Removing path C:\ruby\bin Exception: undefined method `remove' for # C:/ruby/lib/ruby/gems/1.8/gems/patheditor-1.0.2/bin/path_editor:118:in `main' C:/ruby/lib/ruby/gems/1.8/gems/commandline-0.7.10/lib/commandline/ application.rb:251: in `run' C:/ruby/lib/ruby/gems/1.8/gems/patheditor-1.0.2/bin/path_editor:172 C:/ruby/bin/path_editor:16:in `load' C:/ruby/bin/path_editor:16