home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Gallery 1996 January
/
MG_0196.ISO
/
spea
/
install
/
stormpro
/
os2
/
install.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-06-23
|
1KB
|
46 lines
@Cls
@If "%1"=="" Goto P91_ERROR
@If "%1"=="a:" Goto P91_ERROR
@If "%1"=="A:" Goto P91_ERROR
@If "%1"=="b:" Goto P91_ERROR
@If "%1"=="B:" Goto P91_ERROR
:P91_CHECK_SOURCE
@If exist *.Dsc Goto P91_CHECK_DEST
@Goto P91_ERROR
:P91_CHECK_DEST
@If exist %1\OS2\INSTALL Goto P91_CLEAN
@Goto P91_ERROR
:P91_ERROR
@Cls
@Echo *
@Echo * In order to install the Power 9100 Display Drivers for OS/2 change
@Echo * your current drive to the floppy drive containing the Power 9100
@Echo * OS/2 Display Driver Installation Diskette and type the following:
@Echo *
@Echo * install [bootdrive]:
@Echo *
@Echo * Where [bootdrive] is the letter of the drive where OS/2 is installed.
@Echo * For example, if you boot OS/2 from drive C then you would issue the
@Echo * following command:
@Echo *
@Echo * install c:
@Echo *
Goto P91_END
:P91_CLEAN
@If exist %1\OS2\INSTALL\P9REMOVE.DSC Del %1\OS2\INSTALL\P9REMOVE.DSC
@If exist %1\OS2\INSTALL\P91REMOV.DSC Del %1\OS2\INSTALL\P91REMOV.DSC
:P91_INST
@Copy *.Dsc %1\OS2\INSTALL
@Start /F %1\OS2\INSTALL\DSPINSTL
@Exit
@Goto P91_END
:P91_END