Add script to setup the PATH variable on Windows
This commit is contained in:
parent
11c591c30d
commit
4ad96c60ab
9
setup-path-win.bat
Normal file
9
setup-path-win.bat
Normal file
@ -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
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user