Created
September 16, 2014 14:22
-
-
Save lucacesari/d9b5b568fb2bbf0d0f48 to your computer and use it in GitHub Desktop.
Add path to Windows %PATH% variable
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
@echo off | |
REM If your path contains spaces remember to quote it | |
setx /m Path "%~1;%PATH%" | |
echo "%~1 has been added to the Path" | |
echo "Restart any application that needs to use the modified Path" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment