REM *********************************************
REM First we want to get to the HallWay directory

e:
cd\doors\HallWay

REM **********************************************
REM We want to clean up any old stuff laying around

if exist door.bat del door.bat

REM **********************************************
REM Then we will execute the door with a config on 
REM the command line

HallWay HallWay.cnf

REM **********************************************
REM If the door did NOT exit with errorlevel -99 return to board

if not errorlevel -99 goto nodoor

REM **********************************************
REM If the exit error level was -99 run the door and come back to HallWay

if exist door.bat CALL door.bat
e:
cd\gap
door

REM **********************************************
REM This is the exit back to the board

:nodoor
e:
cd\gap
gap

REM **********************************************
REM We are all done and home safe and sound
