diff --git a/samples/mfc/standard/env.bat b/samples/mfc/standard/env.bat index 068dcacf8e..f743985757 100644 --- a/samples/mfc/standard/env.bat +++ b/samples/mfc/standard/env.bat @@ -1,3 +1,4 @@ +call "%~dp0..\..\..\env.bat" %1 %2 %3 set "BIN_DIR=win%ARCH%\%VCVER%\bind" set "LIB_DIR=win%ARCH%\%VCVER%\libd" diff --git a/samples/mfc/standard/msvc.bat b/samples/mfc/standard/msvc.bat index 56c35e2f6a..055b957010 100644 --- a/samples/mfc/standard/msvc.bat +++ b/samples/mfc/standard/msvc.bat @@ -1,6 +1,4 @@ -call "%~dp0..\..\..\env.bat" %1 %2 %3 - -call "%~dp0env.bat" +call "%~dp0env.bat" %1 %2 %3 if ["%CASDEB%"] == [""] ( call "%~dp0..\..\..\msvc.bat" %VCVER% win%ARCH% "" "%~dp0All-%VCVER%.sln" diff --git a/samples/mfc/standard/run.bat b/samples/mfc/standard/run.bat index afbacf5884..ce62be6c34 100644 --- a/samples/mfc/standard/run.bat +++ b/samples/mfc/standard/run.bat @@ -7,8 +7,7 @@ if ["%4"] == [""] ( exit /B ) -call "%~dp0..\..\..\env.bat" %1 %2 %3 -call "%~dp0env.bat" +call "%~dp0env.bat" %1 %2 %3 if not exist "%~dp0%BIN_DIR%\%4.exe" goto err_exe