Is there anyway to change the PATH environment variable (or variables in general) on Windows 7 Exterprise (64 bit) and have it take effect in PowerShell or the command prompt (cmd.exe
) without requiring a restart?
I don't mind having the reopen the shell/prompt, but having to restart is too much.
I'm currently changing variables through Advanced Systems settings ->
Environment Variables`.
Answer
The requirement really isn't "must restart", it's "must log out/log back in" -- mostly for your current user processes to pick up the change.
If all you're interested in is for the variable changes to take effect in a command window or power shell, starting a new shell after making said changes should be all that's needed.
No comments:
Post a Comment