home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / distrib / msw / zipstc.bat < prev    next >
DOS Batch File  |  2000-03-15  |  659b  |  31 lines

  1. @echo off
  2. rem Zip up an external distribution of STC (wxStyledTextCtrl)
  3. set src=d:\wx2\wxWindows
  4. set dest=d:\wx2\wxWindows\deliver
  5.  
  6. if "%src" == "" goto usage
  7. if "%dest" == "" goto usage
  8. echo About to archive an external STC distribution:
  9. echo   From   %src
  10. echo   To     %dest\stc.zip
  11. echo CTRL-C if this is not correct.
  12. inkey /W4 `Press any key to continue...` %%input
  13.  
  14. erase %dest\stc.zip
  15. cd %src
  16. zip32 -@ %dest\stc.zip < %src\distrib\msw\stc.rsp
  17.  
  18. cd %dest
  19.  
  20. echo STC archived.
  21. goto end
  22.  
  23. :usage
  24. echo DOS STC distribution.
  25. echo Usage: zipstc source destination
  26. echo e.g. zipstc d:\wx2\wxWindows d:\wx2\wxWindows\deliver
  27.  
  28. :end
  29.  
  30.  
  31.