home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- echo -
- echo This program will install Turbo Graphix Toolbox for the IBM Color/Graphics
- echo Adapter, the IBM Enhanced Graphics Adapter, the Hercules (Monochrome)
- echo Graphics Card, the AT&T 6300 PC, or the IBM 3270 PC.
- echo -
- for %%x in (cga CGA ega EGA hgc HGC att ATT 3270) do if [%1]==[%%x] goto gotname
- echo You must type "TGINST CGA" for the IBM color card, "TGINST HGC" for the
- echo Hercules monochrome graphics card, "TGINST EGA" for the IBM Enhanced
- echo Graphics Adapter, "TGINST ATT" for the AT&T 6300 PC, or "TGINST 3270" for
- echo the IBM 3270 PC.
- goto quit
- :gotname
- if exist GRAF%1.DVR goto gotfile
- echo Turbo Graphix cannot be installed because GRAF%1.DVR is not available on
- echo the current drive.
- goto quit
- :gotfile
- if not exist GDRIVER.PAS goto inst%1
- echo GDRIVER.PAS already exists. If you do not want to continue (and overwrite
- echo it with GRAF%1.DVR), please type CTRL-Break followed by a 'Y' right now:
- echo -
- pause
- goto inst%1
- :instcga
- echo -
- copy grafcga.dvr gdriver.pas >nul
- echo Turbo Graphix Toolbox has been installed for the IBM Color/Graphics Adapter.
- goto end
- :insthgc
- echo -
- copy grafhgc.dvr gdriver.pas >nul
- echo Turbo Graphix Toolbox has been installed for the Hercules Graphics Card.
- goto end
- :instega
- echo -
- copy grafega.dvr gdriver.pas >nul
- echo Turbo Graphix Toolbox has been installed for the IBM Enhanced Graphics Adapter.
- goto end
- :instatt
- echo -
- copy grafatt.dvr gdriver.pas >nul
- echo Turbo Graphix Toolbox has been installed for the AT&T 6300 PC.
- goto end
- :inst3270
- echo -
- copy graf3270.dvr gdriver.pas >nul
- echo Turbo Graphix Toolbox has been installed for the IBM 3270 PC.
- :end
- if not exist gdriver.tpu goto quit
- echo -
- del gdriver.tpu >nul
- :quit