home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / wp / dospel37.zip / DO-98.ZIP / DOM-10D.EXE / MAKEARJ.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, LZH archive files to .ARJ files.
  6. ECHO PKZIP/PKUNZIP, PAK, LHARC, PKARC/PKXARC LZH 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-ARJ.bat echo ZIP-ARJ.BAT NOT FOUND !
  15. if not exist PAK-ARJ.bat echo PAK-ARJ.BAT NOT FOUND !
  16. if not exist ARC-ARJ.bat echo ARC-ARJ.BAT NOT FOUND !
  17. if not exist LZH-ARJ.bat echo LZH-ARJ.BAT NOT FOUND !
  18. if not exist ZIP-ARJ.bat goto einde
  19. if not exist PAK-ARJ.bat goto einde
  20. if not exist ARC-ARJ.bat goto einde
  21. if not exist LZH-ARJ.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-ARJ
  31. DOMULTI %1 *.PAK PAK-ARJ
  32. DOMULTI %1 *.ARC ARC-ARJ
  33. DOMULTI %1 *.LZH LZH-ARJ
  34. echo  
  35. echo      R E A D Y
  36. echo  
  37. :einde
  38.