REM The start of the DEBUGBAT.BAT file.
IF '%DEBUG-IT%'=='Yes' GOTO debug-a
::::: Above lines set up the easy-debugging-info potential.
::::: Put the body of the batch file here.
ECHO Kilroy was here. Pat Paulsen for president.
::::: For debugging, it might contain statements such as the following:
copy a:skeleton.bat b:autoexec.bat > %WHERE-TO%
IF NOT '%DEBUG-IT%'=='Yes' GOTO continue
::::: Get here when DEBUG-IT = Yes so can gather some debugging info.
PAUSE IF OK, continue. Or, use Ctrl-Break to quit at this point.
::::: Continue on with the batch file, and reach a place where you
::::: might want to obtain some more debugging information.
IF '%DEBUG-IT%'=='Yes' CALL GETCOMND.BAT
::::: Continue on with the batch file.
::::: Following lines "erase" the environment variables.
REM The end of the DEBUGBAT.BAT file.