home *** CD-ROM | disk | FTP | other *** search
/ Computer Installation Guide - Dragon Clan Series / CD1.iso / MPEG / S3_MMX2 / MISC / CLASSIC / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-12-21  |  1.7 KB  |  69 lines

  1. @echo off
  2. echo.
  3. echo Copyright (C) S3 Incorporated. 1994-95. All rights reserved.
  4. echo DOS MPEG Driver Installation Program
  5. echo.
  6.  
  7. choice "Are you installing onto a Compaq computer "
  8. if errorlevel 1 set CPQ=Y
  9. if errorlevel 2 set CPQ=N
  10. if not errorlevel 1 goto EDUN
  11.  
  12. choice /cAB "Floppy disk drive you are copying from "
  13. if errorlevel 1 set DFROM=A:
  14. if errorlevel 2 set DFROM=B:
  15. if not errorlevel 1 goto EDUN
  16.  
  17. choice /cCDEFG /n "Hard disk you are installing to [C-G]?"
  18. if errorlevel 1 set DTO=C:
  19. if errorlevel 2 set DTO=D:
  20. if errorlevel 3 set DTO=E:
  21. if errorlevel 4 set DTO=F:
  22. if errorlevel 5 set DTO=G:
  23. if not errorlevel 1 goto EDUN
  24.  
  25. choice "OK to copy files from %DFROM% to %DTO%\S3MPEG "
  26. if errorlevel 2 goto EDUN
  27. if not errorlevel 1 goto EDUN
  28.  
  29. md %DTO%\s3mpeg > NUL
  30. echo Copying Files...
  31. copy /Y %DFROM%\*.* %DTO%\s3mpeg > NUL
  32. if %CPQ% == N goto NOTCPQ
  33. copy /Y %DTO%\s3mpeg\fmpdrvtg.exe %DTO%\s3mpeg\fmpdrv.exe > NUL
  34. copy /Y %DTO%\s3mpeg\dosmpegt.ini %DTO%\s3mpeg\dosmpeg.ini > NUL
  35. goto DUN
  36.  
  37. :NOTCPQ
  38. copy /Y %DTO%\s3mpeg\fmpdrvs3.exe %DTO%\s3mpeg\fmpdrv.exe > NUL
  39. copy /Y %DTO%\s3mpeg\dosmpegs.ini %DTO%\s3mpeg\dosmpeg.ini > NUL
  40. goto DUN
  41.  
  42. :EDUN
  43. echo Cancelled by user.  Installation not completed.
  44. goto OUT
  45.  
  46. :DUN
  47. echo Done.
  48. echo.
  49. echo For optimal operation your CONFIG.SYS should start with:
  50. echo DOS=HIGH,UMB
  51. echo DEVICE=C:\DOS\HIMEM.SYS
  52. echo DEVICE=C:\EMM386.EXE NOEMS
  53. echo DEVICEHIGH=%DTO%\S3MPEG\S3RMDRV.SYS
  54. echo.
  55. echo Any "DEVICE=" commands following the EMM386 line should be changed
  56. echo to "DEVICEHIGH=" .
  57. echo.
  58. echo Add S3MPEG directory to the path:
  59. echo PATH=%DTO%\S3MPEG
  60. echo.
  61. echo Be sure to reboot your computer after changing CONFIG.SYS.
  62. echo.
  63.  
  64. :OUT
  65. set DFROM=
  66. set DTO=
  67. set CPQ=
  68.  
  69.