home *** CD-ROM | disk | FTP | other *** search
- echo off
- rem Do hardware check
- if .%2 == . goto :error
- if not exist %1\install1.exe goto :error
- if not .%3 == . goto :emmok
- %1\testemm
- if errorlevel 1 goto :emmok
- echo No expanded memory found; The Display List version will not work
- echo Please install the standard version!
- goto :end
- :emmok
- if exist %2\arca\param.arc del %2\arca\param.arc > nul
- %1\install1 %1 %2 -dl %3
- if errorlevel 2 goto :error
- if errorlevel 1 goto :end
- copy %1\cont.bat %2\arca > nul
- copy %1\install2.exe %2\arca > nul
- copy %1\messages.lst %2\arca > nul
- copy %1\unzip.bat %2\arca > nul
- copy %1\pkunzip.exe %2\arca > nul
- %2
- cd \arca
- rem source destination type
- cont %1 %2 -dl
- goto :end
- :error
- echo Command format is: [source:]INSTALL source: destination: [-not]
- :end