Category : Files from Magazines
Archive   : VOL9N10.ZIP
Filename : DEBUGBAT.BAT
Output of file : DEBUGBAT.BAT contained in archive : VOL9N10.ZIP
::::: DEBUGBAT.BAT
@ECHO OFF
REM The start of the DEBUGBAT.BAT file.
IF '%DEBUG-IT%'=='Yes' GOTO debug-a
SET ECHO-IT=OFF
SET WHERE-TO=NUL
GOTO debug-b
:debug-a
SET ECHO-IT=ON
SET WHERE-TO=CON
:debug-b
@ECHO %ECHO-IT%
::::: 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.
DIR B:*.BAT
PAUSE IF OK, continue. Or, use Ctrl-Break to quit at this point.
:continue
::::: 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.
SET DEBUG-IT=
SET ECHO-IT=
SET WHERE-TO=
REM The end of the DEBUGBAT.BAT file.
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/