home *** CD-ROM | disk | FTP | other *** search
- @echo off
- testfile %1 arc zip
- if errorlevel == 98 goto end
- if errorlevel == 2 goto zip
- if errorlevel == 1 goto arc
-
- :zip
- pkunzip -t %1 > pcbfail.txt
- if errorlevel == 1 goto end
- del pcbfail.txt
- goto end
-
- :arc
- xarc -t %1 > pcbfail.txt
- if errorlevel == 1 goto end
- del pcbfail.txt
- goto end
-
- :end