home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / maj / 2033 / whatarc.bat < prev    next >
DOS Batch File  |  1994-06-01  |  922b  |  17 lines

  1. echo off
  2. if not "%1"=="" goto scan
  3. echo WHATARC - Scanning contents of matching files to indentify if archive
  4. echo USAGE: WHATARC opt1 opt2..
  5. echo Where "opt" can be a filespec or any option
  6. echo e.g.  WHATARC *.*           Scan all files in current directory
  7. echo       WHATARC /T            Scan all files " "  " dated today
  8. echo       WHATARC /W}30k PR*    Scan whole drive for files gt 30k matching PR*
  9. goto exit
  10. :scan
  11. D /'@x1A@x02'0sDf [---PKARC/SEA/PKPAK archives://(($T$w//][(No PKARC/SEA/PKPAK)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  12. D /'@x60@xEA@x28'0sDf [---ARJ archives://(($T$w//][(No ARJ)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  13. D /'@x50@x4B@x03@x04'0sDf [---PKZIP archives://(($T$w//][(No PKZIP)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  14. D /'-lh'2sDf [---LHA/LHARC archives://(($T$w//][(No LHA/LHARC)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  15. D /'ZOO'0sDf [---ZOO archives://(($T$w//][(No ZOO)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  16. :exit
  17.