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.