home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Harvey Norman Games
/
HN.iso
/
BOARD
/
CHESSRPL.ZIP
/
CHESSRPL.EXE
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-25
|
3KB
|
67 lines
@ECHO OFF
IF "%1" == "" GOTO HOWTO
IF NOT EXIST CHESSRP3.EXE goto howto
CLS
ECHO ┌─────────────────────────────────────────────────────┐
ECHO │ │
ECHO │ Copying CHESSRP3 program files and miscellaneous │
ECHO │ sample files to %1\CHESSRPL\*.* │
ECHO │ │
ECHO └─────────────────────────────────────────────────────┘
IF NOT EXIST %1:\CHESSRPL MD %1:\CHESSRPL
COPY *.* %1:\CHESSRPL
IF ERRORLEVEL 1 GOTO ABORT
GOTO PLAY
:HOWTO
CLS
ECHO ┌────────────────────────────────────────────────────────┐
ECHO │ │
ECHO │ To install CHESSRP3, switch to floppy drive, then │
ECHO │ enter INSTALL followed by letter for drive │
ECHO │ where software is to be installed. │
ECHO │ │
ECHO │ For example: A: │
ECHO │ INSTALL C │
ECHO │ │
ECHO │ - to install CHESSRP3 on the 'C' drive. │
ECHO │ │
ECHO └────────────────────────────────────────────────────────┘
GOTO EXIT
:ABORT
CLS
ECHO ┌────────────────────────────────────────────────────────┐
ECHO │ │
ECHO │ An error occurred while installing CHESSRP3, please │
ECHO │ make sure installation procedures have been │
ECHO │ followed and adequate free space for CHESSRP3 │
ECHO │ files exist on destination drive before contacting │
ECHO │ CHESSRPL vendor for a replacement source disk. │
ECHO │ │
ECHO └────────────────────────────────────────────────────────┘
GOTO EXIT
:PLAY
CLS
ECHO ┌─────────────────────────────────────────────────────┐
ECHO │ │
ECHO │ Installation of program CHESSRP3 and miscellaneous │
ECHO │ sample files completed successfully. │
ECHO │ │
ECHO │ You are ready to execute program CHESSRP3, just │
ECHO │ enter CHESSRP3 on the command line. │
ECHO │ │
ECHO │ Enjoy. │
ECHO │ │
ECHO └─────────────────────────────────────────────────────┘
ECHO ON
%1:
CD\CHESSRPL
:EXIT EXIT