home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
416.img
/
ADHCBINC.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-08-07
|
4KB
|
95 lines
ECHO OFF
REM ****************************************
REM * *
REM * Electric Crayon Hard Disk Install *
REM * *
REM * Copyright (c) 1989 Polarware, Inc. *
REM * Programmed by William B. Norris IV *
REM * *
REM ****************************************
CLS
ECHO
ECHO Electric Crayon Install Procedure
ECHO ───────────────────────────────────────────────────────────────────────────────
ECHO
IF "%1" == "" GOTO INSTRUCTIONS
IF "%1" == "help" GOTO INSTRUCTIONS
IF "%1" == "HELP" GOTO INSTRUCTIONS
IF "%1" == "/H" GOTO INSTRUCTIONS
IF "%1" == "/h" GOTO INSTRUCTIONS
IF "%1" == "-H" GOTO INSTRUCTIONS
IF "%1" == "-h" GOTO INSTRUCTIONS
IF "%1" == "-?" GOTO INSTRUCTIONS
IF EXIST %1\EC.EXE GOTO ALREADY_THERE
:INSTALL
ECHO Installing Electric Crayon to %1
ECHO
MKDIR %1 >NUL:
MKDIR %1\DESC >NUL:
MKDIR %1\PICTURES >NUL:
REM ****************************************
REM * *
REM * Rename the AUTOEXEC.BAT file so that *
REM * people installing this in their root *
REM * directory don't wipe out their *
REM * original file. You're welcome. *
REM * *
REM ****************************************
rename autoexec.bat ecexec.bat
COPY *.* %1
rename ecexec.bat autoexec.bat
REM ****************************************
REM * *
REM * Install the Electric Crayon pictures *
REM * *
REM ****************************************
CLS
ECHO Copying the picture files:
ECHO ───────────────────────────────────────────────────────────────────────────────
COPY PICTURES\*.* %1\PICTURES
REM ****************************************
REM * *
REM * Copy the description files. *
REM * *
REM ****************************************
CLS
ECHO Copying the description files:
ECHO ───────────────────────────────────────────────────────────────────────────────
COPY DESC\*.* %1\DESC
GOTO END
:ALREADY_THERE
REM **********************************************
REM * *
REM * EC already installed. Want to overwrite ? *
REM * *
REM **********************************************
ECHO Electric Crayon already installed.
ECHO Install procedure aborted.
GOTO END
:INSTRUCTIONS
REM ****************************************
REM * *
REM * INSTRUCTIONS *
REM * *
REM ****************************************
ECHO This program is used to install Electric Crayon on a hard disk.
ECHO Simply type INSTALL and the pathname where you would like the
ECHO Electric Crayon program to be installed.
ECHO
ECHO For example:
ECHO INSTALL C:\EC
ECHO INSTALL C:\GAMES\EC
ECHO INSTALL D:\
ECHO
ECHO NOTE: The directory in which you are installing Electric Crayon
ECHO ───── must already exist. If it doesn't, you must create the
ECHO subdirectory by entering the appropriate mkdir (md) commands
ECHO at the DOS prompt.
REM ****************************************
REM * *
REM * END *
REM * *
REM ****************************************
ECHO
:END