12
6
I am trying to add a PATH from command line, as with SETX %PATH%... it always expands the PATH, which I don't want.
PATHMAN is exactly for this purpose, but it doesn't work for me on Windows 7. It freezes most of the times, and it doesn't check for duplicated.
There must be a tool for managing PATH variables in the proper way. SETX would be perfect, but maybe not with the %PATH% syntax.
This is exactly what I was looking for! From the article, I have tried the other 3 solutions already without happiness. It seems this is the one I was looking for. Works perfectly! BTW, it has nothing to do with Sysinternals. – hyperknot – 2011-04-08T16:27:01.760
This is supposed to work but it has an essential bug, if you try to ADD/APPEND something to the the user path and user path is not defined the utility will fail to add the path. – sorin – 2011-09-21T14:22:11.500
1I just gave this app a try; it was frustrating that it didn't seem to work. I realized that I have to run it while logged in as an Administrator, OR run it in a command shell that was started with "Run as Administrator". Also, you may need to categorically use "/machine" if you want affect the machine level path. Good luck! And thanks to @harrymc for the tip; +1 from me! – Dan H – 2012-09-12T13:17:31.533
FWIW, there is another "pathed" utility published on code.google.com which seems to do pretty much the same with a slightly different syntax.
– syneticon-dj – 2014-04-03T11:19:40.657