PDA

View Full Version : How to initialize all environment variables in CommandPrompt session WITHOUT re-opening CommandPrompt


Frank Callone
May 11th 07, 02:20 PM
As well known I can open a command prompt and change Environment variables by a command line like

set PATH=D:\myproj;%PATH%

How to I rest now all prevous changes I made since the start of a command prompt session ?

I don't want to close the current command prompt and re-open it (=that would initialize
the env variables but it would like to do it without a close)

Is there a command like

"init env"

...or similar ?

Frank

Google