home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if () == (%1) goto NO_ARG
- if (a:) == (%1) goto FDISK
- if (b:) == (%1) goto FDISK
- cls
- echo ┌──────────────────────────┐
- echo │** ATI OS/2 1.3 Drivers **│
- echo └──────────────────────────┘
- echo
- echo ───────────────────────────────────────────────────────────
- echo ERROR: Invalid drive specified.
- echo You must use drive A: or B:
- echo ───────────────────────────────────────────────────────────
- echo
- echo In order to properly install the OS/2 drivers, the
- echo files contained in enclosed archive MUST be extracted to a
- echo floppy disk. Please try again specifying either drive A: or B:.
- goto DONE
-
- :NO_ARG
- cls
- echo ┌──────────────────────────┐
- echo │** ATI OS/2 1.3 Drivers **│
- echo └──────────────────────────┘
- echo ─────────────────
- echo This batch file needs to know what drive you wish to install
- echo the files on. You must install the drivers to a diskette.
- echo
- echo ─────────────────────────
- echo │ Usage: INSTALL [drive]: │
- echo ─────────────────────────
- echo Example: INSTALL A:
- goto DONE
-
- :FDISK
- cls
- echo ┌──────────────────────────┐
- echo │** ATI OS/2 1.3 Drivers **│
- echo └──────────────────────────┘
- echo ─────────────────
- echo This batch file will conveniently extract the
- echo ATI OS/2 1.3 Drivers to a floppy diskette.
- echo ─────────────────
- echo Please ensure that you have a blank/formatted
- echo floppy diskette ready before you continue. This
- echo diskette may be a high or low density type.
- echo
- echo Press any key to continue the installation
- echo or CONTROL-C to abort.
- pause >nul
- cls
- echo ┌──────────────────────────┐
- echo │** ATI OS/2 1.3 Drivers **│
- echo └──────────────────────────┘
- echo ─────────────────
- echo Decompressing. . .
- os2drv /e%1
- if not ERRORLEVEL 0 goto ERROR
- cls
- echo ┌──────────────────────────┐
- echo │** ATI OS/2 1.3 Drivers **│
- echo └──────────────────────────┘
- echo ─────────────────
- echo ╒══════════════════════════╕
- echo │ Installation successful! │
- echo ╘══════════════════════════╛
- echo
- echo The first step of the installing your ATI OS/2 1.3 drivers is now
- echo complete. The next step is to tell OS/2 to use these drivers. Please
- echo read the README.PM file for instructions on how to tell OS/2 to use
- echo these new drivers. The README.PM file is located on the diskette your
- echo have just created. If you require assistance in any way, please feel
- echo free to contact ATI Customer Support.
- echo
- echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
- goto DONE
- :ERROR
- cls
- echo ┌──────────────────────────┐
- echo │** ATI OS/2 1.3 Drivers **│
- echo └──────────────────────────┘
- echo
- echo ╒══════════════════════╕
- echo │ Installation failed! │
- echo ╘══════════════════════╛
- echo ───────────────
- echo Please check the diskette that you specified and ensure it has at
- echo 360K free disk space. If this batch file continues to present problems,
- echo please refer to the README.1ST file for instructions on how to manually
- echo extract the OS/2 1.3 drivers. If you continue to have problems, download
- echo the file again or call ATI Customer Support for assistance.
- echo
- echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
- :DONE
-