home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / os21.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-06-25  |  3KB  |  95 lines

  1. echo off
  2. cls
  3. if exist svga.exe goto chk1
  4. echo Please go to the disk driver in which Trident display diskette is located.
  5. goto EXIT
  6.  
  7. :chk1
  8. if "%1"=="" goto msg1
  9. SET SRCPATH=A:
  10. if NOT "%2"=="" SET SRCPATH=%2
  11. SET DSTPATH=%1\TROS2DRV
  12. if NOT "%3"=="" SET DSTPATH=%3
  13. echo.
  14. echo.
  15. echo.
  16. echo                The  Trident  display  driver  will  be  
  17. echo                copied  to %DSTPATH%.
  18. echo                During  running  "DSPINSTL"  to  select
  19. echo                display  resolution,  you  must  change
  20. echo                "source  directory"  to  %DSTPATH%.
  21. echo.                                                         
  22. echo                This installation needs 1.5MB disk space.
  23. echo.
  24. echo.                                                         
  25. echo                The OS/2 boot driver is %1
  26. echo                The OS/2 display driver diskette is %SRCPATH%     
  27. echo.                                                        
  28. echo.                                                         
  29. echo                If not correct, press Ctrl C (^C) to quit.
  30. echo.
  31. echo.
  32. pause
  33.  
  34. if exist %1\OS2\OS2.INI goto ins
  35. echo.
  36. echo Driver name error or not OS/2 boot driver
  37. goto msg1
  38.  
  39. :ins
  40. md %DSTPATH%
  41. echo on
  42. copy svga.exe %1\OS2
  43. copy vsvga.sys %1\OS2\MDOS
  44. copy pstrid.dsc %1\OS2\INSTALL
  45. copy vga %DSTPATH% 
  46. copy sw256.dr_ %DSTPATH% 
  47. copy dsp256.dl_ %DSTPATH%
  48. copy sv60016.dl_ %DSTPATH% 
  49. copy dsp76816.dl_ %DSTPATH% 
  50. copy tr480a.dsp %DSTPATH%
  51. copy tr480ac.dsp %DSTPATH% 
  52. copy tr480b.dsp %DSTPATH%
  53. copy tr480bc.dsp %DSTPATH%
  54. copy tr600a.dsp %DSTPATH%
  55. copy tr600ac.dsp %DSTPATH%
  56. copy tr600b.dsp %DSTPATH%
  57. copy tr600bc.dsp %DSTPATH%
  58. copy tr768a.dsp %DSTPATH%
  59. copy tr768ac.dsp %DSTPATH%
  60. copy tr768b.dsp %DSTPATH%
  61. copy tr768bc.dsp %DSTPATH%
  62. copy psvga32.dsp %DSTPATH%
  63. copy pssvga32.dsp %DSTPATH%
  64. copy readme.doc %DSTPATH%
  65. copy trident.bat %DSTPATH%  
  66. @echo off
  67.  
  68. %DSTPATH%\trident %1 %SRCPATH% %DSTPATH%
  69.  
  70. :msg1
  71. echo.
  72. echo This installation needs to copy files from original OS\2 display diskette.
  73. echo Be sure the original OS/2 display diskette is ready.
  74. echo.
  75. echo.
  76. echo Usage:   install [boot_drv:] [dsp_drv:\dsp_path] [dst_drv:\dst_path]
  77. echo.
  78. echo Where:   boot_drv -- OS2 boot driver name, must be given.
  79. echo          dsp_drv,dsp_path -- Driver and path where the original OS/2
  80. echo                              display diskette is  located.  Optional 
  81. echo                              parametr, the default is A:. If dst_drv
  82. echo                              is A or B, don't give dst_path.
  83. echo          dst_drv,dst_path -- The target disk driver and path where
  84. echo                              Trident display driver is copied to.  
  85. echo                              Optional paramrter, the default is 
  86. echo                              OS2_ boot_driver:\TROS2DRV. If this 
  87. echo                              parameter is given, dsp_drv and dsp_path 
  88. echo                              must be specified.
  89. echo.
  90. echo Example: install C:
  91. echo Example: install D: D:\DISP
  92. echo Example: install C: A: C:\MYDRV
  93. :EXIT
  94. echo.
  95.