home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR8 / DOSPEL37.ZIP / DO-98.ZIP / DOM-10D.EXE / MAKEPAK.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 .LZH .ARC .ARJ archive files to .PAK 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-PAK.bat echo ZIP-PAK.BAT NOT FOUND !
  15. if not exist LZH-PAK.bat echo LZH-PAK.BAT NOT FOUND !
  16. if not exist ARC-PAK.bat echo ARC-PAK.BAT NOT FOUND !
  17. if not exist ARJ-PAK.bat echo ARJ-PAK.BAT NOT FOUND !
  18. if not exist ZIP-PAK.bat goto einde
  19. if not exist LZH-PAK.bat goto einde
  20. if not exist ARC-PAK.bat goto einde
  21. if not exist ARJ-PAK.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-PAK
  31. DOMULTI %1 *.LZH LZH-PAK
  32. DOMULTI %1 *.ARC ARC-PAK
  33. DOMULTI %1 *.ARJ ARJ-PAK
  34. echo  
  35. echo      R E A D Y
  36. echo  
  37. :einde
  38.