home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
DIVERSEN
/
DRIVERS
/
EXPOS2_1
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-03-09
|
2KB
|
59 lines
echo off
rem cls
echo * Avance Logic, Inc.
echo *
echo * OS/2 Support Files Installation...
echo *
if "%1" == "" goto Error
if "%2" == "" goto Error
echo * Making back up copies of OS/2 Video Virtual Drivers.
echo * You may get a few warning messages if this installation has been
echo * done before. Please disregard those messages.
echo *
echo *
echo *
echo * You are about to begin installation of driver support files.
echo *
pause
%2:
md \os2\mdos\avancebk
rem
copy %2:\os2\mdos\vsvga.sys %2:\os2\mdos\avancebk\vsvga.sys /v
copy %2:\os2\mdos\vvga.sys %2:\os2\mdos\avancebk\vvga.sys /v
rem
%2:
cd \os2\mdos\avancebk
ren vsvga.sys vsvga.bk
ren vvga.sys vvga.bk
cd\
rem
rem
copy %1:\os2\svga.exe %2:\os2\svga.exe
copy %1:\os2\svgadata.eng %2:\os2\svgadata.pmi
copy %1:\os2\ascanos2.* %2:\os2
copy %1:\os2\mdos\*.* %2:\os2\mdos
copy %1:\os2\dosfsa.bat %2:\os2
copy %1:\os2\avance0.bat %2:\os2
copy %1:\os2\doavance.bat %2:\os2
copy %2:\startup.cmd %2:\os2\mdos\avancebk\startup.bk
del %2:\startup.cmd
find /v "DOSFSA" < %2:\os2\mdos\avancebk\startup.bk > \startup.bk
copy %1:\os2\startup.cmd+%2:\startup.bk %2:\startup.cmd
del %2:\startup.bk
rem copy %1:\os2\dll\svgainst.dll %2:\os2\dll
copy %1:\os2\install\psali.dsc %2:\os2\install
echo.
echo Driver Support files installed successfully.
goto End
:Error
echo
echo * Error...
echo *
echo * Usage: INSTALL [A] [C]
echo * where A is Source disk
echo * C is Target disk
echo * Example: install a c
echo * Note: No colon follow drive letter.
:End