You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk_firmware/1-setup-path-win.bat

15 lines
346 B
Batchfile

@echo off
9 years ago
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /f /v Path /t REG_SZ /d "%path%;C:\MinGW\bin;C:\MinGW\msys\1.0\bin" > nul
echo.
if NOT ["%errorlevel%"]==["0"] (
9 years ago
echo FAILED. You probably just need to run the script with administrator privileges.
) else (
echo Success!
9 years ago
setx QMK QMK > nul
)
9 years ago
echo.
pause