home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 417.img / PCB145-3.ZIP / PCBVIEW.BAT < prev    next >
DOS Batch File  |  1990-11-07  |  285b  |  23 lines

  1. @echo off
  2. testfile %1 arc zip pak
  3. if errorlevel == 98 goto error
  4. if errorlevel == 3 goto pak
  5. if errorlevel == 2 goto zip
  6. if errorlevel == 1 goto arc
  7. goto end
  8.  
  9. :arc
  10. viewarch %1
  11. goto end
  12.  
  13. :zip
  14. viewzip %1
  15. goto end
  16.  
  17. :pak
  18. pak v %1 > pcbview.txt
  19. goto end
  20.  
  21. :error
  22. :end
  23.