Created
October 18, 2013 15:08
-
-
Save thekarel/7042978 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To make the environment variable accessible globally you need to set it in the registry. As you've realised by just using: | |
set NEWVAR=SOMETHING | |
you are just setting it in the current process space. According to this page you can use the setx command: | |
setx NEWVAR SOMETHING | |
setx is built into Windows 7, but for older versions may only be available if you install the Windows Resource Kit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment