home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR8 / DOSPEL37.ZIP / DO-98.ZIP / DOM-10D.EXE / ARC-ZIP.BAT < prev    next >
DOS Batch File  |  1990-05-05  |  789b  |  27 lines

  1. echo off
  2. rem door J.A.M. Kleijn, Rotterdam.
  3. if not %%(%2)==%%() goto begin
  4. echo   
  5. echo Batchfile for converting .ARC archive files to .LZH files. This batch file
  6. echo is used by DOMULTI.EXE, enter DOMULTI for more. Use MAKEZIP.BAT to convert
  7. echo archive files to .ZIP format.
  8. echo   
  9. echo Batchfile om .ARC archive files naar .LZH file naar te converteren. Deze
  10. echo batchfile wordt door DOMULTI.EXE aangeroepen, enter DOMULTI voor meer info.
  11. echo Gebruik MAKEZIP.BAT om archivefiles naar .ZIP vorm te converteren.
  12. goto einde
  13. :begin
  14.  
  15. md\tempdir(
  16. pkxarc %1\%2.%3 \tempdir(
  17. PKZIP -m %1\%2 \tempdir(\*.*
  18. goto klaar
  19. :error
  20. echo Error with %1\%2\.%3 !!, Boot system !
  21. pause
  22. :klaar
  23. if not exist %1\%2.ZIP goto error
  24. if exist %1\%2.ZIP del %1\%2.%3
  25. rd\tempdir(
  26. :einde
  27.