home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l045 / 2.ddi / TGINST.BAT < prev   
Encoding:
DOS Batch File  |  1987-12-23  |  1.7 KB  |  55 lines

  1. echo off
  2. cls
  3. echo -
  4. echo This program will install Turbo Graphix Toolbox for the IBM Color/Graphics
  5. echo Adapter, the IBM Enhanced Graphics Adapter, the Hercules (Monochrome)
  6. echo Graphics Card, the AT&T 6300 PC, or the IBM 3270 PC.
  7. echo -
  8. for %%x in (cga CGA ega EGA hgc HGC att ATT 3270) do if [%1]==[%%x] goto gotname
  9. echo You must type "TGINST CGA" for the IBM color card, "TGINST HGC" for the
  10. echo Hercules  monochrome  graphics  card, "TGINST EGA"  for the IBM Enhanced
  11. echo Graphics Adapter, "TGINST ATT" for the AT&T 6300 PC, or "TGINST 3270" for
  12. echo the IBM 3270 PC.
  13. goto quit
  14. :gotname
  15. if exist GRAF%1.DVR goto gotfile
  16. echo Turbo Graphix cannot be installed because GRAF%1.DVR is not available on
  17. echo the current drive.
  18. goto quit
  19. :gotfile
  20. if not exist GDRIVER.PAS goto inst%1
  21. echo GDRIVER.PAS already exists.  If you do not want to continue (and overwrite
  22. echo it with GRAF%1.DVR), please type CTRL-Break followed by a 'Y' right now:
  23. echo -
  24. pause
  25. goto inst%1
  26. :instcga
  27. echo -
  28. copy grafcga.dvr gdriver.pas >nul
  29. echo Turbo Graphix Toolbox has been installed for the IBM Color/Graphics Adapter.
  30. goto end
  31. :insthgc
  32. echo -
  33. copy grafhgc.dvr gdriver.pas >nul
  34. echo Turbo Graphix Toolbox has been installed for the Hercules Graphics Card.
  35. goto end
  36. :instega
  37. echo -
  38. copy grafega.dvr gdriver.pas >nul
  39. echo Turbo Graphix Toolbox has been installed for the IBM Enhanced Graphics Adapter.
  40. goto end
  41. :instatt
  42. echo -
  43. copy grafatt.dvr gdriver.pas >nul
  44. echo Turbo Graphix Toolbox has been installed for the AT&T 6300 PC.
  45. goto end
  46. :inst3270
  47. echo -
  48. copy graf3270.dvr gdriver.pas >nul
  49. echo Turbo Graphix Toolbox has been installed for the IBM 3270 PC.
  50. :end
  51. if not exist gdriver.tpu goto quit
  52. echo -
  53. del gdriver.tpu >nul
  54. :quit
  55.