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.