@rem argument %1 is the destination drive letter

@set o_path=%path%
@set path=%1:\os2;%1:\os2\install

@if "%1"=="" goto usage
@echo - SVGA Video Driver Installation for OS/2 2.1...

@attrib -r %1:\os2\screen0?.sys
@if exist %1:\os2\screen01.sys unpack screen01.sy_ %1: >nul
@if exist %1:\os2\screen02.sys unpack screen02.sy_ %1: >nul
@copy svga.exe          %1:\os2 >nul
@copy psclblt.dsc       %1:\os2\install >nul
@dspinstl

@echo -
@echo - Please shutdown and reboot the system for the newly installed
@echo - drivers to take effect . . .
@echo -
@goto home

:usage
@echo *------------------------------------------------------------------*
@echo * SVGA Video Drivers Installation for OS/2 2.1...                  *
@echo *==================================================================*
@echo *                                                                  *
@echo * Please specify the drive letter for the files to be copied to... *
@echo *                                                                  *
@echo * usage:    CLINST21 [destination drive letter]                    *
@echo * example:  CLINST21 C                                             *
@echo * meaning:  Install SVGA Video Drivers on drive C, the OS/2 drive. *
@echo *                                                                  *
@echo *------------------------------------------------------------------*

:home
@set path=%o_path%
@set o_path=

