home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
busi
/
control1.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-12-23
|
3KB
|
101 lines
ECHO OFF
CLS
IF %1==F GOTO FLOPINS
IF %1==H GOTO HARDINS1
CLS
GO
:FLOPINS
ECHO OFF
CLS
ECHO Instructions for installing the program:
echo
ECHO Create three ready-to-run disks (execute from drive B:)
ECHO Label three disks as follows:
ECHO Disk 1: SALES-A {--- This is the 'HELP' disk
ECHO Disk 2: SALES-B {--- This is the 'PROGRAM' disk.
ECHO Contains PROSPECT.EXE & PROSPECT.OVL
ECHO Disk 3: SALESDOC {--- This is the Tutorial
echo
ECHO Disk 1 should be formatted as a 'bootable' disk, with this command:
ECHO FORMAT A:/S
echo
ECHO To verify if your disk is 'bootable', check for the existence of a file
ECHO named 'COMMAND.COM'. The format instruction above should have placed
ECHO this file onto your 'bootable disk'. The other 2 disks will be formatted
ECHO with the standard format command: FORMAT A:
ECHO If you want to stop this procedure now to format the 3 disks, enter
ECHO CONTROL-C. Enter any other key to continue.
PAUSE
CLS
IF %2==1 GOTO FLOPINS1
IF %2==2 GOTO FLOPINS2
CLS
ECHO This floppy installation requires that you enter either a '1' or a '2',
ECHO following your 'GO F' instruction.
GOTO END
:FLOPINS2
ECHO Enter disk 1, SALES-A, into drive A now.
PAUSE
A:
B:PKUNZIP -X B:SALE-B31.ZIP *.DB?
B:PKUNZIP -X B:SALE-B31.ZIP *.COM
B:PKUNZIP -X B:SALE-A31.ZIP AUTOFLOP.BAT
B:PKUNZIP -X B:SALE-A31.ZIP INSTALL.DOC
B:PKUNZIP -X B:SALE-A31.ZIP DEMO.DOC
B:PKUNZIP -X B:SALE-A31.ZIP REMOTE1.DOC
B:PKUNZIP -X B:SALE-A31.ZIP FOREIGN.DOC
B:PKUNZIP -X B:SALE-A31.ZIP NATIVE.DOC
COPY AUTOFLOP.BAT AUTOEXEC.BAT
CLS
ECHO Enter disk 2, SALES-B, into drive A now.
PAUSE
A:
B:PKUNZIP -X B:SALE-A31.ZIP *.LBL
B:PKUNZIP -X B:SALE-A31.ZIP PROSPECT.EXE
B:PKUNZIP -X B:SALE-A31.ZIP GO-FL.BAT
COPY GO-FL.BAT GO.BAT
DEL GO-FL.BAT
B:
CLS
ECHO Insert 'Disk 2' with GO2 into drive B now.
echo
ECHO Enter: GO2
GOTO END
:FLOPINS1
ECHO Beginning with version 3.0 of this program, the executable files have
ECHO become so large that the low density option of 360KB is no longer supported.
GOTO END
:HARDINS1
CLS
echo
ECHO This procedure will install all files onto your hard disk, drive %2
ECHO and will create a subdirectory, \PROSPECT.
echo
%2:
CD \
MKDIR PROSPECT
CD PROSPECT
COPY A:ECOH.COM >TMP
COPY A:YESNO.COM >TMP
COPY A:PKUNZIP.EXE >TMP
COPY A:SALE-A31.ZIP >TMP
PKUNZIP -X SALE-A31.ZIP
DEL SALE-A31.ZIP
DEL AUTOFLOP.BAT
COPY A:SALE-B31.ZIP >TMP
PKUNZIP -X SALE-B31.ZIP
DEL SALE-B31.ZIP
A:
CLS
echo
ECOH Insert the second disk now into drive A.
echo
ECHO Enter or type this command on the second disk:
echo
ECHO GO2
echo
GOTO END
echo
:END
echo