home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 33 VDrivers / 33-VDrivers.zip / ATIOS213.ZIP / INSTALL.BAT next >
DOS Batch File  |  1992-04-13  |  4KB  |  96 lines

  1. echo off
  2. cls
  3. if () == (%1) goto NO_ARG
  4. if (a:) == (%1) goto FDISK
  5. if (b:) == (%1) goto FDISK
  6. cls
  7. echo                      ┌──────────────────────────┐
  8. echo                      │** ATI OS/2 1.3 Drivers **│
  9. echo                      └──────────────────────────┘
  10. echo 
  11. echo         ───────────────────────────────────────────────────────────
  12. echo                    ERROR: Invalid drive specified.
  13. echo                      You must use drive A: or B:
  14. echo         ───────────────────────────────────────────────────────────
  15. echo 
  16. echo         In order to properly install the OS/2 drivers, the
  17. echo         files contained in enclosed archive MUST be extracted to a
  18. echo         floppy disk. Please try again specifying either drive A: or B:.
  19. goto DONE
  20.  
  21. :NO_ARG
  22. cls
  23. echo                      ┌──────────────────────────┐
  24. echo                      │** ATI OS/2 1.3 Drivers **│
  25. echo                      └──────────────────────────┘
  26. echo                          ─────────────────
  27. echo      This batch file needs to know what drive you wish to install
  28. echo        the files on. You must install the drivers to a diskette.
  29. echo 
  30. echo                        ─────────────────────────
  31. echo                       │ Usage: INSTALL [drive]: │
  32. echo                        ─────────────────────────
  33. echo                           Example: INSTALL A:
  34. goto DONE
  35.  
  36. :FDISK
  37. cls
  38. echo                      ┌──────────────────────────┐
  39. echo                      │** ATI OS/2 1.3 Drivers **│
  40. echo                      └──────────────────────────┘
  41. echo                          ─────────────────
  42. echo              This batch file will conveniently extract the
  43. echo              ATI OS/2 1.3 Drivers to a floppy diskette.
  44. echo                          ─────────────────
  45. echo              Please ensure that you have a blank/formatted
  46. echo             floppy diskette ready before you continue. This
  47. echo               diskette may be a high or low density type.
  48. echo 
  49. echo               Press any key to continue the installation
  50. echo                         or CONTROL-C to abort.
  51. pause >nul
  52. cls
  53. echo                      ┌──────────────────────────┐
  54. echo                      │** ATI OS/2 1.3 Drivers **│
  55. echo                      └──────────────────────────┘
  56. echo                          ─────────────────
  57. echo Decompressing. . .
  58. os2drv /e%1
  59. if not ERRORLEVEL 0 goto ERROR
  60. cls
  61. echo                      ┌──────────────────────────┐
  62. echo                      │** ATI OS/2 1.3 Drivers **│
  63. echo                      └──────────────────────────┘
  64. echo                          ─────────────────
  65. echo                     ╒══════════════════════════╕
  66. echo                     │ Installation successful! │
  67. echo                     ╘══════════════════════════╛
  68. echo 
  69. echo   The first step of the installing your ATI OS/2 1.3 drivers is now
  70. echo   complete. The next step is to tell OS/2 to use these drivers. Please
  71. echo   read the README.PM file for instructions on how to tell OS/2 to use
  72. echo   these new drivers. The README.PM file is located on the diskette your
  73. echo   have just created. If you require assistance in any way, please feel
  74. echo   free to contact ATI Customer Support.
  75. echo 
  76. echo           ATI Customer Support (416) 756-0711 9am-5:30pm EST
  77. goto DONE
  78. :ERROR
  79. cls
  80. echo                      ┌──────────────────────────┐
  81. echo                      │** ATI OS/2 1.3 Drivers **│
  82. echo                      └──────────────────────────┘
  83. echo 
  84. echo                       ╒══════════════════════╕
  85. echo                       │ Installation failed! │
  86. echo                       ╘══════════════════════╛
  87. echo                           ───────────────
  88. echo   Please check the diskette that you specified and ensure it has at
  89. echo   360K free disk space. If this batch file continues to present problems,
  90. echo   please refer to the README.1ST file for instructions on how to manually
  91. echo   extract the OS/2 1.3 drivers. If you continue to have problems, download
  92. echo   the file again or call ATI Customer Support for assistance.
  93. echo 
  94. echo           ATI Customer Support (416) 756-0711 9am-5:30pm EST
  95. :DONE
  96.