Possible Duplicates:
Set Permanent Environmental Variable in Windows XP
Is there a way to set Windows environment variables from the command line PERMANENTLY
The set command does not save values between cmd.exe sessions. How can I 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.
Possible solution: .bashrc or .bash_profile equivalent for DOS
cmd.exe
is not DOS. It is a native 32-bit Windows program. The only thing in common with MS-DOS is the command syntax. – user1686 May 29 '10 at 15:58for
statement has differing (and incampatible) behavior. – Joey May 30 '10 at 9:26