skylark-qmk/1-setup-path-win.bat
2016-03-02 12:54:53 -05:00

9 lines
202 B
Batchfile

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