0029589: Configuration - allow MFC samples to be built when OCCT is linked statically
[occt.git] / samples / mfc / standard / msvc.bat
index b0f694d..19d0f0b 100644 (file)
@@ -10,9 +10,9 @@ set "PRJFILE=%~dp0All-%VCFMT%.sln"
 
 rem Launch Visual Studio - either professional (devenv) or Express, as available
 if exist "%DevEnvDir%\devenv.exe"  (
-  start "%DevEnvDir%\devenv.exe" "%PRJFILE%"
+  start "" "%DevEnvDir%\devenv.exe" "%PRJFILE%"
 ) else if exist "%DevEnvDir%\%VisualStudioExpressName%.exe"  (
-  start "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
+  start "" "%DevEnvDir%\%VisualStudioExpressName%.exe" "%PRJFILE%"
 ) else (
   echo Error: Could not find MS Visual Studio ^(%VCFMT%^)
   echo Check relevant environment variable ^(e.g. VS100COMNTOOLS for vc10^)