by Mwwhited
20. April 2009 23:04
@ECHO OFF
IF "%1"=="D" GOTO debugIt
IF "%1"=="d" GOTO debugIt
IF "%1"=="debug" GOTO debugIt
IF "%1"=="B" GOTO buildIt
IF "%1"=="b" GOTO buildIt
IF "%1"=="build" GOTO buildIt
REM IF "%1"=="A" GOTO doneWithIt
IF NOT "%1"=="" GOTO :errorCmd
boottest.cmd mypc.vmc
GOTO doneWithIt
:buildIt
echo Build DistroWorld.proj
msb DistroWorld.proj
REM SHIFT /1
REM CALL %0 %1
GOTO doneWithIt
:debugIt
echo Start VM with Debugger Attached
dbg.cmd /pipe & boottest.cmd mypc.vmc
GOTO doneWithIt
:errorCmd
echo Start VM
echo "command not understood '%1'"
GOTO doneWithIt
:doneWithIt
echo Completed