home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / pkos2250.exe / PKUNZIP2.CMD < prev    next >
OS/2 REXX Batch file  |  1997-05-01  |  1KB  |  30 lines

  1. @echo off
  2. rem  PKZIP (R) software for OS/2
  3. rem  Copyright 1997 PKWARE Inc.  All Rights Reserved.
  4. rem  PKZIP Reg. U.S. Pat. and Tm. Off.
  5. rem
  6. rem  This batch file is used to call pkzip.exe for
  7. rem  extracting files.
  8. IF %1x == x goto pkhelp
  9. pkzip /extract %1 %2 %3 %4 %5 %6 %7 %8 %9
  10. goto end
  11. :pkhelp
  12. echo PKUNZIP.CMD Usage
  13. echo --------------------------------------------------------------
  14. echo Usage: PKUNZIP2 [Options] [.ZIP File] [Files to extract]
  15. echo --------------------------------------------------------------
  16. echo Example: PKUNZIP2 test
  17. echo          This will extract all the files in test.zip into
  18. echo          the current directory
  19. echo Example: PKUNZIP2 backup *.doc
  20. echo          This will extract all of the file matching *.doc
  21. echo          from the backup.zip file into the current directory
  22. echo Example: PKUNZIP2 /overwrite backup *.doc
  23. echo          This will extract all of the files matching *.doc from
  24. echo          the backup.zip file and will not prompt for overwrite
  25. echo Example: PKUNZIP2 backup doc\
  26. echo          This will extract all of the files from the backup.zip
  27. echo          file into the "doc" directory
  28. :end
  29. @echo on
  30.