home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p034 / 1.ddi / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-03-09  |  769 b   |  29 lines

  1. echo off
  2. rem Do hardware check
  3. if .%2 == . goto :error
  4. if not exist %1\install1.exe goto :error
  5. if not .%3 == . goto :emmok
  6. %1\testemm
  7. if errorlevel 1 goto :emmok
  8. echo No expanded memory found; The Display List version will not work
  9. echo Please install the standard version!
  10. goto :end
  11. :emmok
  12. if exist %2\arca\param.arc del %2\arca\param.arc > nul
  13. %1\install1 %1 %2 -dl %3
  14. if errorlevel 2 goto :error
  15. if errorlevel 1 goto :end
  16. copy %1\cont.bat %2\arca > nul
  17. copy %1\install2.exe %2\arca > nul
  18. copy %1\messages.lst %2\arca > nul
  19. copy %1\unzip.bat %2\arca > nul
  20. copy %1\pkunzip.exe %2\arca > nul
  21. %2
  22. cd \arca
  23. rem  source destination type
  24. cont %1 %2 -dl
  25. goto :end
  26. :error
  27. echo Command format is: [source:]INSTALL source: destination: [-not]
  28. :end
  29.