after restarting my machine The path variable has been reset. In what scenarios the path variable is reset?

link|improve this question
feedback

migrated from stackoverflow.com Apr 25 '11 at 11:11

This question came from our site for professional and enthusiast programmers.

1 Answer

It depends on how you set it.

If you run set PATH=... in Command Prompt, the environment variable is modified only for the cmd.exe process (and for all programs you run from the same Command Prompt window). Other processes are not affected.

To make your changes permanent, go to System Properties → Advanced → Environment Variables and under User variables click New.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown