@echo off
rem Remove the @ if you're not running DOS 3.3 or later.
rem QuickBBS batch file incorporating CBV for non-networked systems

:start
quickbbs
if errorlevel 10 goto cbv
goto quit

:restart
quickbbs -r -e0
rem The -e0 forces QuickBBS to exit when the caller
rem terminates.  This is needed for proper operation.
if errorlevel 10 goto cbv
goto start

:cbv
cbv
if errorlevel 1 goto restart
goto start

:quit

