home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM User 1995 September
/
cdrom-user-14-1995-09.iso
/
reddrag
/
dotmania
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1995-01-21
|
3KB
|
86 lines
echo off
cls
if not exist dotmania.exe goto error
if "%1"=="" goto auto
goto manual
:ERROR
cls
echo ----------------------------------------------------------------
echo - ERROR
echo -
echo - You must run INSTALL from the DOS prompt of the drive
echo - that contains the Dot-Mania disk, (e.g. A: or B:)
echo -
echo - Please correct and try again.
echo ----------------------------------------------------------------
goto exit
:AUTO
echo ┌───────────────────────────────────────────────────────────────────────┐
echo │ │
echo │ Dot-Mania V1.14 │
echo │ │
echo │ To install Dot-Mania on C:\DOTMANIA │
echo │ press any key now. │
echo │ │
echo │ To install on a drive other than C: │
echo │ 1. Press [CTRL] [C] and answer Y to "Terminate batch file?" │
echo │ 2. Type INSTALL X then press [ENTER] │
echo │ where: X is the letter of the desired drive │
echo │ DO NOT add a colon (:) to the drive letter. │
echo │ A \DOTMANIA directory is created automatically. │
echo │ │
echo │ example: INSTALL E - installs onto E:\DOTMANIA │
echo │ │
echo └───────────────────────────────────────────────────────────────────────┘
echo To install on C:\DOTMANIA,
pause
cls
echo Now installing Dot-Mania on C:\DOTMANIA
md c:\dotmania
dotmania C:\dotmania\ -d -o
if errorlevel 1 goto space
cls
c:
cd \dotmania
goto end
:MANUAL
goto ok
:SPACE
cls
echo --------------------------------------------------------------
echo - ERROR
echo -
echo - There is insufficient space on the specified drive (%1:)
echo -
echo - -or- You have specified an invalid drive parameter.
echo -
echo - If you see two colons here (%1:), please
echo - type INSTALL X without adding a colon.
echo -
echo - X is the letter of the desired drive
echo -
echo - Please correct and try again.
echo --------------------------------------------------------------
goto exit
:OK
echo Now installing Dot-Mania on %1:\DOTMANIA
md %1:\dotmania
dotmania %1:\dotmania\ -d -o
if errorlevel 1 goto space
cls
%1:
cd \dotmania
:END
echo Installation successful!
echo.
echo Type DOT2DOT and press [ENTER] to run Dot-Mania.
:EXIT