home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo.
- echo Copyright (C) S3 Incorporated. 1994-95. All rights reserved.
- echo DOS MPEG Driver Installation Program
- echo.
-
- choice "Are you installing onto a Compaq computer "
- if errorlevel 1 set CPQ=Y
- if errorlevel 2 set CPQ=N
- if not errorlevel 1 goto EDUN
-
- choice /cAB "Floppy disk drive you are copying from "
- if errorlevel 1 set DFROM=A:
- if errorlevel 2 set DFROM=B:
- if not errorlevel 1 goto EDUN
-
- choice /cCDEFG /n "Hard disk you are installing to [C-G]?"
- if errorlevel 1 set DTO=C:
- if errorlevel 2 set DTO=D:
- if errorlevel 3 set DTO=E:
- if errorlevel 4 set DTO=F:
- if errorlevel 5 set DTO=G:
- if not errorlevel 1 goto EDUN
-
- choice "OK to copy files from %DFROM% to %DTO%\S3MPEG "
- if errorlevel 2 goto EDUN
- if not errorlevel 1 goto EDUN
-
- md %DTO%\s3mpeg > NUL
- echo Copying Files...
- copy /Y %DFROM%\*.* %DTO%\s3mpeg > NUL
- if %CPQ% == N goto NOTCPQ
- copy /Y %DTO%\s3mpeg\fmpdrvtg.exe %DTO%\s3mpeg\fmpdrv.exe > NUL
- copy /Y %DTO%\s3mpeg\dosmpegt.ini %DTO%\s3mpeg\dosmpeg.ini > NUL
- goto DUN
-
- :NOTCPQ
- copy /Y %DTO%\s3mpeg\fmpdrvs3.exe %DTO%\s3mpeg\fmpdrv.exe > NUL
- copy /Y %DTO%\s3mpeg\dosmpegs.ini %DTO%\s3mpeg\dosmpeg.ini > NUL
- goto DUN
-
- :EDUN
- echo Cancelled by user. Installation not completed.
- goto OUT
-
- :DUN
- echo Done.
- echo.
- echo For optimal operation your CONFIG.SYS should start with:
- echo DOS=HIGH,UMB
- echo DEVICE=C:\DOS\HIMEM.SYS
- echo DEVICE=C:\EMM386.EXE NOEMS
- echo DEVICEHIGH=%DTO%\S3MPEG\S3RMDRV.SYS
- echo.
- echo Any "DEVICE=" commands following the EMM386 line should be changed
- echo to "DEVICEHIGH=" .
- echo.
- echo Add S3MPEG directory to the path:
- echo PATH=%DTO%\S3MPEG
- echo.
- echo Be sure to reboot your computer after changing CONFIG.SYS.
- echo.
-
- :OUT
- set DFROM=
- set DTO=
- set CPQ=
-
-