home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / wp / dospel37.zip / DO-98.ZIP / DOM-10D.EXE / MAKELZH.BAT < prev    next >
DOS Batch File  |  1991-11-08  |  1KB  |  38 lines

  1. echo off
  2. rem door J.A.M.Kleijn, Rotterdam, 90-04-28
  3. if not %%(%1)==%%() goto begin
  4. ECHO  
  5. Echo Batchfile for converting .ZIP .PAK .ARC ARJ archive files to .LZH files.
  6. ECHO PKZIP/PKUNZIP, PAK, LHARC, PKARC/PKXARC, ARJ must be available from current
  7. echo directory.
  8. echo For more info enter DOMULTI. By Han Kleijn, Rotterdam NL.
  9. echo  
  10. echo Usage:  MAKEARC STARTDIRECTORY
  11. echo  
  12. goto einde
  13. :begin
  14. if not exist ZIP-LZH.bat echo ZIP-LZH.BAT NOT FOUND !
  15. if not exist PAK-LZH.bat echo PAK-LZH.BAT NOT FOUND !
  16. if not exist ARC-LZH.bat echo ARC-LZH.BAT NOT FOUND !
  17. if not exist ARJ-LZH.bat echo ARJ-LZH.BAT NOT FOUND !
  18. if not exist ZIP-LZH.bat goto einde
  19. if not exist PAK-LZH.bat goto einde
  20. if not exist ARC-LZH.bat goto einde
  21. if not exist ARJ-LZH.bat goto einde
  22.  
  23. echo  
  24. DOMULTI %1
  25. echo  
  26. echo The files in these directories will be converted.
  27. echo Hit Crtl-C to stop or
  28. pause
  29.  
  30. DOMULTI %1 *.ZIP ZIP-LZH
  31. DOMULTI %1 *.PAK PAK-LZH
  32. DOMULTI %1 *.ARC ARC-LZH
  33. DOMULTI %1 *.ARJ ARJ-LZH
  34. echo  
  35. echo      R E A D Y
  36. echo  
  37. :einde
  38.