@echo off if "%1"=="" goto NoProjectRoot if "%2"=="" goto NoBuildFlavor set PROJECT_ROOT=%1 set BUILD_FLAVOR=%2 @echo Executing VSVars32 - Please ensure visual studio 2003 is in your path. call vsvars32.bat goto Successful :NoProjectRoot echo Please specify a project root as the first argument. goto End :NoBuildFlavor echo Please specify a build flavor as the second argument. goto End :Successful title %BUILD_FLAVOR% - %PROJECT_ROOT% :End