summaryrefslogtreecommitdiffstats
path: root/1-setup-path-win.bat
blob: 49fb00e149ac26aff74756939b4012521dc9411b (plain)
1
2
3
4
5
6
7
8
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
)