Browse Source

Add script to setup the PATH variable on Windows

pull/170/head
Noah Andrews 8 years ago
parent
commit
4ad96c60ab
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      setup-path-win.bat

+ 9
- 0
setup-path-win.bat View File

@ -0,0 +1,9 @@
@echo off
setx /M path "%PATH%;C:\MinGW\bin" > nul 2>&1
if NOT ["%errorlevel%"]==["0"] (
echo FAILED. Rerun with administrator privileges.
pause
) else (
echo Success!
pause
)

Loading…
Cancel
Save