summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Andrews <NoahAndrews@users.noreply.github.com>2016-02-25 23:53:44 -0500
committerNoah Andrews <NoahAndrews@users.noreply.github.com>2016-02-25 23:53:44 -0500
commit4ad96c60abc4d9e0de983d38b8126bc902178782 (patch)
tree95f3b927ff2b9dbd59cb1b3c040a80831c8fa555
parent11c591c30dc8743b1980f6f639f26cbe250181e7 (diff)
Add script to setup the PATH variable on Windows
-rw-r--r--setup-path-win.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup-path-win.bat b/setup-path-win.bat
new file mode 100644
index 0000000000..4fbf9a870e
--- /dev/null
+++ b/setup-path-win.bat
@@ -0,0 +1,9 @@
+@echo off
+setx /M path "%PATH%;C:\MinGW\bin" > nul 2>&1
+if NOT ["%errorlevel%"]==["0"] (
+ echo FAILED. Rerun with administrator privileges.
+ pause
+) else (
+ echo Success!
+ pause
+)