home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / DESIRE15.ZIP / INSTALL.DAT / EXTRACT.BAT < prev    next >
DOS Batch File  |  1996-11-13  |  894b  |  47 lines

  1. @echo off
  2. GOTO BEGIN
  3. REM **************************************************************************
  4. REM dESiRE inarchive view/download extract.bat
  5. REM is used as : extract.bat <archivename>
  6. REM                          <archivetype>
  7. REM                          <filetoextract>
  8. REM                          <workdir>
  9. REM **************************************************************************
  10. :BEGIN
  11. if %2==ZIP goto ZIP
  12. if %2==LZH goto LZH
  13. if %2==LHA goto LHA
  14. if %2==ARJ goto ARJ
  15.  
  16. GOTO END
  17.  
  18. :ZIP
  19. pkunzip.exe -o %1 %3 %4 >NUL
  20. GOTO END
  21. :LZH
  22. lha.exe P %1 %3 >%4\%3
  23. GOTO END
  24. :LHA
  25. lha.exe P %1 %3 >%4\%3
  26. GOTO END
  27. :ARJ
  28. arj.exe -y x %1 %3 -jw%4\%3 >NUL
  29. GOTO END
  30. :DMS
  31. rem NOT implemented YET
  32. GOTO END
  33. :ZOO
  34. rem NOT implemented YET
  35. GOTO END
  36. :PAK
  37. rem NOT implemented YET
  38. GOTO END
  39. :DIG
  40. rem NOT implemented YET
  41. GOTO END
  42. :LHARC
  43.  
  44. :END
  45. rem returning to dESiRE
  46.  
  47.