home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / pcboard / addpcb21.zip / TEST.BAT < prev   
DOS Batch File  |  1992-12-10  |  357b  |  23 lines

  1. @echo off   
  2. testfile %1 gif zip
  3. if errorlevel == 98 goto end
  4. if errorlevel == 2 goto zip
  5. if errorlevel == 1 goto gif
  6. goto end
  7.  
  8. :zip
  9. zltest %1 c:\pcb\util\zltest.cfg LOCAL 
  10. goto zdcs
  11.  
  12. :gif
  13. giftest %1 /R:2 /T:1 
  14. goto zdcs
  15.  
  16. :zdcs
  17. c:\pcb\util\zdcs\zdcsfc %1 %2 
  18. if not exist zdcs-del.lst goto end
  19. pkzip -d %1 @zdcs-del.lst
  20. goto end
  21.  
  22. :end
  23.