Created
June 12, 2012 20:19
-
-
Save pckujawa/2919894 to your computer and use it in GitHub Desktop.
Quick backup of environment variables (including PATH) in windows
This file contains hidden or 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
cmd /k "date /t >> envvars.txt && time /t >> envvars.txt && set >> envvars.txt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Or use
cmd /c
to have the cmd window close when it's done. This script appends to the file so you can get a versioned backup whenever you need it.