home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 33 VDrivers
/
33-VDrivers.zip
/
tros21dr.zip
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1994-01-05
|
4KB
|
121 lines
echo off
cls
if exist svga.exe goto chk1
echo Please go to the disk driver in which Trident display diskette is located.
goto EXIT
:chk1
if "%1"=="" goto msg1
SET SRCPATH=A:
if NOT "%2"=="" SET SRCPATH=%2
SET DSTPATH=%1\TROS2DRV
if NOT "%3"=="" SET DSTPATH=%3
echo.
echo.
echo.
echo The Trident display driver will be
echo copied to %DSTPATH%.
echo During running "DSPINSTL" to select
echo display resolution, you must change
echo "source directory" to %DSTPATH%.
echo.
echo This installation needs 1.5MB disk space.
echo.
echo.
echo The OS/2 boot driver is %1
echo The OS/2 display driver diskette is %SRCPATH%
echo.
echo.
echo If not correct, press Ctrl C (^C) to quit.
echo.
echo.
pause
if exist %1\OS2\OS2.INI goto ins
echo.
echo Driver name error or not OS/2 boot driver
goto msg1
:ins
md %DSTPATH%
echo on
copy svga.exe %1\OS2
copy vsvga.sys %1\OS2\MDOS
copy pstrid.dsc %1\OS2\INSTALL
copy vga %DSTPATH%
copy vga60016.dr_ %DSTPATH%
copy sw60016.dr_ %DSTPATH%
copy vga76816.dr_ %DSTPATH%
copy sw76816.dr_ %DSTPATH%
copy sv60016.dl_ %DSTPATH%
copy sv76816.dl_ %DSTPATH%
copy readme.doc %DSTPATH%
copy trident.bat %DSTPATH%
if exist %1\OS2\MDOS\WINOS2\WIN.COM goto os2_org
copy tr480a.osw %DSTPATH%\tr480a.dsp
copy tr480ac.osw %DSTPATH\%tr480ac.dsp
copy tr480b.osw %DSTPATH%\tr480b.dsp
copy tr480bc.osw %DSTPATH%\tr480bc.dsp
copy tr600a.osw %DSTPATH%\tr600a.dsp
copy tr600ac.osw %DSTPATH%\tr600ac.dsp
copy tr600b.osw %DSTPATH%\tr600b.dsp
copy tr600bc.osw %DSTPATH%\tr600bc.dsp
copy tr768a.osw %DSTPATH%\tr768a.dsp
copy tr768ac.osw %DSTPATH%\tr768ac.dsp
copy tr768b.osw %DSTPATH%\tr768b.dsp
copy tr768bc.osw %DSTPATH%\tr768bc.dsp
copy psvga32.osw %DSTPATH%\psvga32.dsp
copy pssvga32.osw %DSTPATH%\pssvga32.dsp
goto ins2
:os2_org
copy tr480a.os2 %DSTPATH%\tr480a.dsp
copy tr480ac.os2 %DSTPATH%\tr480ac.dsp
copy tr480b.os2 %DSTPATH%\tr480b.dsp
copy tr480bc.os2 %DSTPATH%\tr480bc.dsp
copy tr600a.os2 %DSTPATH%\tr600a.dsp
copy tr600ac.os2 %DSTPATH%\tr600ac.dsp
copy tr600b.os2 %DSTPATH%\tr600b.dsp
copy tr600bc.os2 %DSTPATH%\tr600bc.dsp
copy tr768a.os2 %DSTPATH%\tr768a.dsp
copy tr768ac.os2 %DSTPATH%\tr768ac.dsp
copy tr768b.os2 %DSTPATH%\tr768b.dsp
copy tr768bc.os2 %DSTPATH%\tr768bc.dsp
copy psvga32.os2 %DSTPATH%\psvga32.dsp
copy pssvga32.os2 %DSTPATH%\pssvga32.dsp
:ins2
@echo off
%DSTPATH%\trident %1 %SRCPATH% %DSTPATH%
:msg1
echo.
echo This installation needs to copy files from original OS\2 display diskette.
echo Be sure the original OS/2 display diskette is ready.
echo.
echo.
echo Usage: install [boot_drv:] [dsp_drv:\dsp_path] [dst_drv:\dst_path]
echo.
echo Where: boot_drv -- OS2 boot driver name, must be given.
echo dsp_drv,dsp_path -- Driver and path where the original OS/2
echo display diskette is located. Optional
echo parametr, the default is A:. If dst_drv
echo is A or B, don't give dst_path. If you
echo use CD ROM, just give the dsp_drv:.
echo dst_drv,dst_path -- The target disk driver and path where
echo Trident display driver is copied to.
echo Optional paramrter, the default is
echo OS2_ boot_driver:\TROS2DRV. If this
echo parameter is given, dsp_drv and dsp_path
echo must be specified.
echo.
echo Example: install C:
echo Example: install D: D:\DISP
echo Example: install C: A: C:\MYDRV
echo Example: install D: G: D:\MYDRV (CD is on driver G)
:EXIT
echo.