home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
BF
/
BF025B.ZIP
/
GO2.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-01-17
|
3KB
|
110 lines
echo off
cls
echo
ECHO Welcome the installation procedure for IN-CONTROL [TM]!
ECHO [disk 2 of 2]
echo
echo
ECHO Well, we're half way through. The rest is even easier than
ECHO the first part.
echo
ECHO Would you like to the install this program on a Hard Drive?
echo
:YESNO
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
GOTO YESNO
:YESNEXT
CLS
ECHO For you to install this program on a hard drive, this disk must be on Drive A.
ECHO Is this floppy on drive A now?
echo
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO1
GOTO YESNEXT
:YES1
CLS
ECHO Would you like to install this program on a floppy-based system?
echo
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES2
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO END
GOTO YES1
:YES
CLS
echo
ECHO Select the Hard drive you want to install the program on:
echo
echo ═══════════════════════════════════════════════
echo
echo C = Drive C D = Drive D
echo E = Drive E F = Drive F
echo G = Drive G
:INPUT
echo
echo
INPUT (Pick a letter.)
IF ERRORLEVEL 72 GOTO INPUT
IF ERRORLEVEL 71 GOTO G
IF ERRORLEVEL 70 GOTO F
IF ERRORLEVEL 69 GOTO E
IF ERRORLEVEL 68 GOTO D
IF ERRORLEVEL 67 GOTO C
IF ERRORLEVEL 67 GOTO C
REM IF ERRORLEVEL 66 GOTO B
REM IF ERRORLEVEL 65 GOTO A
GOTO INPUT
:C
INSTALL2 H C
:D
INSTALL2 H D
:E
INSTALL2 H E
:F
INSTALL2 H F
:G
INSTALL2 H G
:NO
CLS
echo
ECHO To install this for a floppy based system, this disk must be on Drive B.
GOTO END
:NO1
CLS
echo
echo To install this program, move this disk to drive A and re-execute 'GO2' there.
GOTO END
:YES2
CLS
echo
ECHO To run this program on a floppy based system, this program will create
ECHO three disks on drive A: SALE-A, SALE-B, SALESDOC
echo
ECHO This disk must be on drive B to manufacture those three disks.
ECHO Are you in drive B now?
echo
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES3
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO3
GOTO YES2
:YES3
CLS
INSTALL2 F 2
:NO3
CLS
echo
echo To install this program, move this disk to drive B and re-execute 'GO2' there.
GOTO END
:NO2
CLS
echo
:END
echo