home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
drivers
/
atiwn30
/
install.bat
next >
Wrap
DOS Batch File
|
1992-07-16
|
4KB
|
100 lines
echo off
cls
if ()==(%1) goto NO_ARG
if not exist %1\system\setup.inf goto INVPATH
goto DO_IT
:NO_ARG
echo ┌────────────────────────────────────┐
echo │** VGA Wonder Windows 3.0 Drivers **│
echo └────────────────────────────────────┘
echo This batch file needs to know where your Windows directory
echo is located in order to properly install the drivers.
echo
echo ┌┬────────────────────────────────────┬┐
echo ││ Usage: INSTALL [Windows Directory] ││
echo └┴────────────────────────────────────┴┘
echo Example: INSTALL C:\WINDOWS
echo
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
goto DONE
:INVPATH
echo ┌────────────────────────────────────┐
echo │** VGA Wonder Windows 3.0 Drivers **│
echo └────────────────────────────────────┘
echo
echo ERROR: Invalid path "%1"
echo
echo Please check the path to ensure that this points to a
echo valid Windows directory.
echo ┌┬────────────────────────────────────┬┐
echo ││ Usage: INSTALL [Windows Directory] ││
echo └┴────────────────────────────────────┴┘
echo Example: INSTALL C:\WINDOWS
echo
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
goto DONE
:DO_IT
cls
echo ┌────────────────────────────────────┐
echo │** VGA Wonder Windows 3.0 Drivers **│
echo └────────────────────────────────────┘
echo ─────────────────
echo This batch file will conveniently extract the
echo VGA Wonder Windows 3.0 drivers.
echo ┌─────────────────────────────────────────┐
echo │ If you are prompted to overwrite a file │
echo │ press Y for YES │
echo └─────────────────────────────────────────┘
echo Press any key to continue the installation
echo or CONTROL-C to abort.
echo
pause >nul
cls
echo ┌────────────────────────────────────┐
echo │** VGA Wonder Windows 3.0 Drivers **│
echo └────────────────────────────────────┘
echo ─────────────────
echo Decompressing . . .
win30 /e%1\SYSTEM
if errorlevel == 0 goto OK
goto ERROR
:OK
echo Process Complete. Press any key to continue.
echo
pause >nul
cls
echo ┌────────────────────────────────────┐
echo │** VGA Wonder Windows 3.0 Drivers **│
echo └────────────────────────────────────┘
echo ─────────────────
echo ╒══════════════════════════╕
echo │ Installation successful! │
echo ╘══════════════════════════╛
echo
echo The first step of the Windows 3.0 drivers is now complete. The next
echo step is to tell Windows to use these drivers. Please read the README.WIN
echo file for instructions on how to tell Windows to use these new drivers.
echo This file is located in your %1\SYSTEM directory.
echo
goto DONE
:ERROR
echo ┌────────────────────────────────────┐
echo │** VGA Wonder Windows 3.0 Drivers **│
echo └────────────────────────────────────┘
echo ─────────────────
echo ╒═════════════════════╕
echo │ Installation Failed │
echo ╘═════════════════════╛
echo
echo Please check the path that you specified and ensure it is correct.
echo If this batch file continues to present problems, please refer
echo to the README.1ST file for instructions on how to manually extract
echo the Windows drivers. If you continue to have problems, call ATI
echo Customer Support for assistance.
echo
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
:DONE