summaryrefslogtreecommitdiff
path: root/1-setup-path-win.bat
diff options
context:
space:
mode:
Diffstat (limited to '1-setup-path-win.bat')
-rw-r--r--1-setup-path-win.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/1-setup-path-win.bat b/1-setup-path-win.bat
new file mode 100644
index 0000000000..49fb00e149
--- /dev/null
+++ b/1-setup-path-win.bat
@@ -0,0 +1,9 @@
+@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
+)