DOS SET command does not save values for new cmd.exe sessions

Posted by Shiftbit on Super User See other posts from Super User or by Shiftbit
Published on 2010-05-28T20:39:55Z Indexed on 2010/05/28 20:42 UTC
Read the original article Hit count: 343

Filed under:
|

The DOS set command does not save values between cmd.exe sessions. How can I get DOS to save environmental values between new cmd.exe sessions?

For example the set command will work for my current session only:

set path=%path%;C:\Mingw\bin

Upon restarting cmd.exe my path string has been reset.

© Super User or respective owner

Related posts about dos

Related posts about ms-dos