Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

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

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.