summaryrefslogtreecommitdiff
path: root/1-setup-path-win.bat
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-03-04 10:19:00 -0500
committerJack Humbert <jack.humb@gmail.com>2016-03-04 10:19:00 -0500
commit3f7180a73ec3d4f75d39f7122078c9b892032885 (patch)
tree14c2cfd8157df1515993d4c018f4657d83805945 /1-setup-path-win.bat
parentcc46f6984392b4b9c427970ca7299336cadb15c1 (diff)
parent140a311e652829cb8c774d3d3bb4acdb7c9f9954 (diff)
Merge pull request #170 from NoahAndrews/improve-windows-docs
Add scripts for easy Windows environment setup
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
+)