home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 April (Special)
/
Chip-Special_1997-04_cd.bin
/
diamond
/
edge
/
edge3d-a.exe
/
UNPACK.BAT
< prev
Wrap
DOS Batch File
|
1996-04-18
|
2KB
|
60 lines
@ECHO OFF
IF NOT EXIST DATA.C GOTO NOTSETUP
IF EXIST DATA1.Z REN DATA1.Z DATA1.EXE > NUL
IF EXIST DATA2.Z REN DATA2.Z DATA2.EXE > NUL
IF EXIST DATA3.Z REN DATA3.Z DATA3.EXE > NUL
IF EXIST DATA4.Z REN DATA4.Z DATA4.EXE > NUL
REN DATA.C CHOICE.EXE > NUL
:START
CLS
ECHO.
ECHO.
ECHO.
ECHO ╔════════════════════════════════════════════════════╗
ECHO ║ Diamond Multimedia Systems ║
ECHO. ╟────────────────────────────────────────────────────╢
ECHO ║ UNPACK.BAT will correctly decompress the ║
ECHO ║ Diamond EDGE 3D 2000 and 3000 Series Windows 95 ║
ECHO ║ drivers for later installation. ║
ECHO ║ ║
ECHO ║ The uncompressed files will be placed in ║
ECHO ║ C:\EDGETEMP\. Once finished, please view ║
ECHO ║ README.TXT in the C:\EDGETEMP directory. ║
ECHO ║ ║
ECHO ║ Press "C" to continue, or "Q" to quit. ║
ECHO ║ ║
ECHO ╚════════════════════════════════════════════════════╝
CHOICE /C:C,Q /N
CLS
IF ERRORLEVEL 2 GOTO END
IF EXIST DATA1.EXE DATA1.EXE -d C:\
IF EXIST DATA2.EXE DATA2.EXE -d C:\
IF EXIST DATA3.EXE DATA3.EXE -d C:\
IF EXIST DATA4.EXE DATA4.EXE -d C:\
GOTO END
:NOTSETUP
CLS
ECHO.
ECHO.
ECHO.
ECHO ╔════════════════════════════════════════════════════╗
ECHO ║ Diamond Multimedia Systems ║
ECHO. ╟────────────────────────────────────────────────────╢
ECHO ║ ║
ECHO ║ Problem: All the files from the download must be ║
ECHO ║ in the same directory. Please run the ║
ECHO ║ self-extracing file that was downloaded ║
ECHO ║ in a temporary directory. ║
ECHO ║ ║
ECHO ╚════════════════════════════════════════════════════╝
GOTO END
:END
IF EXIST DATA1.EXE REN DATA1.EXE DATA1.Z > NUL
IF EXIST DATA2.EXE REN DATA2.EXE DATA2.Z > NUL
IF EXIST DATA3.EXE REN DATA3.EXE DATA3.Z > NUL
IF EXIST DATA4.EXE REN DATA4.EXE DATA4.Z > NUL
REN CHOICE.EXE DATA.C > NUL