summaryrefslogtreecommitdiff
path: root/2-setup-environment-win.bat
diff options
context:
space:
mode:
Diffstat (limited to '2-setup-environment-win.bat')
-rw-r--r--2-setup-environment-win.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/2-setup-environment-win.bat b/2-setup-environment-win.bat
index 2b06168c7c..905338087a 100644
--- a/2-setup-environment-win.bat
+++ b/2-setup-environment-win.bat
@@ -13,7 +13,7 @@ IF NOT ["%ERRORLEVEL%"]==["0"] (
:: Make sure path to MinGW exists - if so, CD to it
SET MINGWPATH="C:\MinGW\bin"
IF NOT EXIST !MINGWPATH! (ECHO Path not found: %MINGWPATH% && GOTO ExitBatch)
-cd %MINGWPATH%
+CD /D %MINGWPATH%
ECHO ------------------------------------------
@@ -57,7 +57,7 @@ ECHO ------------------------------------------
ECHO Finished!
:ExitBatch
-CD %STARTINGDIR%
+CD /D %STARTINGDIR%
ENDLOCAL
PAUSE
EXIT /b \ No newline at end of file