Category : BBS Programs+Doors
Archive   : GIFT40B2.ZIP
Filename : PCBTEST.BAT

 
Output of file : PCBTEST.BAT contained in archive : GIFT40B2.ZIP
@echo off
if exist pcbpass.txt del pcbpass.txt
if exist pcbfail.txt del pcbfail.txt
if %@ext[%1]==gif goto gif
if %@ext[%1]==zip goto zip
goto crc

:gif
if %2 == test goto gift
giftest %1 /C:GIFTEST.CNF > PCBPASS.TXT
type pcbpass.txt >> gifpass.log
if errorlevel == 25 goto badgif
if errorlevel == 20 goto badgif
if errorlevel == 10 goto end
if errorlevel == 1 goto badgif
goto end

:gift
echo Testing GIF file...
giftest %1 > PCBPASS.TXT
if errorlevel == 25 goto badgif
if errorlevel == 20 goto badgif
if errorlevel == 10 goto end
if errorlevel == 1 goto badgif
goto end

:badgif
beep
ren PCBPASS.TXT PCBFAIL.TXT
goto end

:zip
ptest %1 ptest.cfg
if %2 == test goto end
if exist pcbfail.txt goto end

:crc
if exist pcbpass.txt del pcbpass.txt
proecho 2 ~Adding %@name[%1] to CRC database...
zdcsfc %1 %2 %3
pcbdesc /d %1 %3
goto end

:end
if exist PCBPASS.TXT type PCBPASS.TXT >> PCBPASS.LOG
if exist PCBFAIL.TXT type PCBFAIL.TXT >> PCBFAIL.LOG
if exist PCBFAIL.TXT move %1 h:\hold /q
if exist %3 type %3 >> f:\pcb\desc


  3 Responses to “Category : BBS Programs+Doors
Archive   : GIFT40B2.ZIP
Filename : PCBTEST.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/