home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 33 VDrivers
/
33-VDrivers.zip
/
ncrvga.zip
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-10-11
|
2KB
|
53 lines
@echo off
if "%1" == "" goto nodrive
goto chkdrive
:nodrive
echo [NCR SVGA INSTALL] Error ! - No drive letter specified
goto err_exit
:chkdrive
@echo [NCR SVGA INSTALL]
@echo [NCR SVGA INSTALL] Please wait ..........
@echo [NCR SVGA INSTALL]
attrib %1:\os2ldr.msg -h -s
if exist %1:\os2ldr.msg goto install
echo [NCR SVGA INSTALL] Error ! - Invalid OS/2 drive letter specified ... (%1)
goto err_exit
:err_exit
echo [NCR SVGA INSTALL]
echo [NCR SVGA INSTALL] Usage: install drive-letter
echo [NCR SVGA INSTALL]
echo [NCR SVGA INSTALL] (Note: You must OMIT the colon after the drive letter)
echo
goto exit
:install
if not exist %1:\os2\install\dspinstl.exe goto no_dspinstl
if exist a:\ncr77c22.dsc copy a:\ncr77c22.dsc %1:\os2\install\*.* > nul
if exist a:\svgancr.dll copy a:\svgancr.dll %1:\os2\dll\*.* > nul
if exist a:\svgancr.exe copy a:\svgancr.exe %1:\os2\*.* > nul
%1:
cd \
start dspinstl
goto exit
:no_dspinstl
echo [NCR SVGA INSTALL] Error ! -
echo [NCR SVGA INSTALL] Error ! - The program %1:\OS2\INSTALL\DSPINSTL.EXE was not found.
echo [NCR SVGA INSTALL] Error ! - This could mean one of serveral things:
echo [NCR SVGA INSTALL] Error ! -
echo [NCR SVGA INSTALL] Error ! -
echo [NCR SVGA INSTALL] Error ! - A) You have OS/2 2.0 installed. This installation
echo [NCR SVGA INSTALL] Error ! - requires OS/2 2.1
echo [NCR SVGA INSTALL] Error ! -
echo [NCR SVGA INSTALL] Error ! - B) OS/2 2.1 is not properly installed on
echo [NCR SVGA INSTALL] Error ! - drive %1:
echo [NCR SVGA INSTALL] Error ! -
:exit
echo on