home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR8 / DOSPEL37.ZIP / DO-98.ZIP / DOM-10D.EXE / MAKEARC.BAT < prev    next >
DOS Batch File  |  1991-11-08  |  1KB  |  37 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 .LZH .ARJ archive files to .ARC 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-ARC.bat echo ZIP-ARC.BAT NOT FOUND !
  15. if not exist PAK-ARC.bat echo PAK-ARC.BAT NOT FOUND !
  16. if not exist LZH-ARC.bat echo LZH-ARC.BAT NOT FOUND !
  17. if not exist ARJ-ARC.BAT echo ARJ-ARC.BAT NOT FOUND ! 
  18. if not exist ZIP-ARC.bat goto einde
  19. if not exist PAK-ARC.bat goto einde
  20. if not exist LZH-ARC.bat goto einde
  21. if not exist ARJ-ARC.bat goto einde
  22. echo  
  23. DOMULTI %1
  24. echo  
  25. echo The files in these directories will be converted.
  26. echo Hit Crtl-C to stop or
  27. pause
  28.  
  29. DOMULTI %1 *.ZIP ZIP-ARC
  30. DOMULTI %1 *.PAK PAK-ARC
  31. DOMULTI %1 *.LZH LZH-ARC
  32. DOMULTI %1 *.ARJ ARJ-ARC
  33. echo  
  34. echo      R E A D Y
  35. echo  
  36. :einde
  37.