home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / WILD401.ZIP / EXAMPLES.ARJ / PKZZ.BAT < prev    next >
DOS Batch File  |  1991-03-02  |  1KB  |  36 lines

  1. @echo off
  2. rem WILD is a Public Domain product by CADMOS (Hari Courouclis)
  3. rem PKZIP is a Public Domain product by PKAWARE
  4.  
  5. if %1.==. goto HELP
  6. if %1.==?. goto HELP
  7.  
  8. if %2.==.+c goto NEWDATE
  9. if %2.==.+C goto NEWDATE
  10. WILD /a /n PKZIP *.zip -k -z wild %2 %3 %4 %5 %6 %7 %8 %9 {%1
  11. goto END
  12.  
  13. :NEWDATE
  14. WILD /a /n PKZIP *.zip -z wild %3 %4 %5 %6 %7 %8 %9 {%1
  15. goto END
  16.  
  17. :HELP
  18. echo.
  19. echo.====================================================================
  20. echo PKZZ.BAT - (c) Hari Courouclis (CADMOS) 1990
  21. echo.--------------------------------------------------------------------
  22. echo.
  23. echo FORMAT: PKZZ CommentFile [+c] [PKZIP options]
  24. echo.
  25. echo PKZZ will insert CommentFile as a comment in all *.ZIP files
  26. echo in the current directory.
  27. echo.
  28. echo By default PKZZ does not change ZIP date.
  29. echo    +c = set ZIP date to current
  30. echo.
  31. WriteLn PKZZ expects to find WILD.EXE (v\0622.0), PKZIP.EXE and WRITELN.EXE
  32. echo on the current directory or in PATH
  33. echo.====================================================================
  34. echo.
  35. :END
  36.