13
8
I am looking for a convenient way to add and/or modify and/or delete an environment variable from the command line. Particularly, I find myself at times in situations when I have to add a few variables in cmd.exe.
I'd be grateful if someone showed me a non-GUI way to modify (that is: to add a new directory to) the %PATH%
variable.
The change should be be permanent, not just for duration of the cmd
session.
1i think one problem you'll find is that most changes to the permanent, system-wide environment variables require a logout/login (or reboot) for the user's session to use the modified values. – quack quixote – 2009-11-04T21:15:29.160