home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / pkos2250.exe / PKZIP2.CMD < prev    next >
OS/2 REXX Batch file  |  1997-05-01  |  1KB  |  28 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  compressing files.
  8. IF %1x == x goto pkhelp
  9. pkzip /add %1 %2 %3 %4 %5 %6 %7 %8 %9
  10. goto end
  11. :pkhelp
  12. echo PKZIP2.CMD Usage
  13. echo --------------------------------------------------------------
  14. echo Usage: PKZIP2 [Options] [.ZIP File] [Files to compress]
  15. echo --------------------------------------------------------------
  16. echo Example: PKZIP2 test
  17. echo          This will compress all the files in the current
  18. echo          directory into the test.zip file
  19. echo Example: PKZIP2 /extra test
  20. echo          This will compress all the files in the current
  21. echo          directory into the test.zip file with extra
  22. echo          compression
  23. echo Example: PKZIP2 backup *.doc
  24. echo          This will compress all of the file matching *.doc
  25. echo          in the current directory into the backup.zip file
  26. :end
  27. @echo on
  28.