diff options
author | Noah Andrews <NoahAndrews@users.noreply.github.com> | 2016-03-29 20:03:22 -0400 |
---|---|---|
committer | Noah Andrews <NoahAndrews@users.noreply.github.com> | 2016-03-29 20:03:22 -0400 |
commit | e28334017c94c6928dd7e82436cec171f0243747 (patch) | |
tree | d2b2ecb96aff656094b2113f83632e3131000a75 /1-setup-path-win.bat | |
parent | ccf848917b7e931327f6c4a469877e9d8ef238ea (diff) | |
parent | 26513b497b8bae5160389c0beac2d45cbb29c50f (diff) |
Merge remote-tracking branch 'jackhumbert/master' into make-keymap-names-consistent
Diffstat (limited to '1-setup-path-win.bat')
-rw-r--r-- | 1-setup-path-win.bat | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1-setup-path-win.bat b/1-setup-path-win.bat new file mode 100644 index 0000000000..6957dbc3f4 --- /dev/null +++ b/1-setup-path-win.bat @@ -0,0 +1,14 @@ +@echo off + +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"] ( + echo FAILED. You probably just need to run the script with administrator privileges. +) else ( + echo Success! + setx QMK QMK > nul +) + +echo. +pause |