qmk-firmware/1-setup-path-win.bat

10 lines
202 B
Batchfile
Raw Normal View History

@echo off
2016-02-26 05:29:55 +00:00
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
)