home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
DATABASE
/
MAINT301.ZIP
/
MAINTA30.ZIP
/
GO.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-05-04
|
5KB
|
132 lines
ECHO OFF
CLS
ECHO Disk One of Two disk Installation Program
ECHO This disk should be first, followed by 'GO2' on the second disk.
PAUSE
ECHO [Ignore all 'Syntax Error' messages at this screen, if any]
IF %1==F GOTO FLOPINS
IF %1==f GOTO FLOPINS
IF %1==H GOTO HARDINS
IF %1==h GOTO HARDINS
CLS
:FEATURES
CLS
ECHO INSTRUCTIONS FOR INSTALLING SERVICE PLUS [TM]
ECHO Everything contained in two disks:
ECHO -
ECHO To install this from a 2 floppy drive system,
ECHO enter 'GO F 1' from drive B:.
ECHO if using 360KB floppy drives
ECHO [your floppy drives each have a capacity of 360,000 characters]
ECHO or
ECHO enter 'GO F 2' from drive B:.
ECHO if using floppy drives GREATER than 360KB
ECHO -
ECHO For any hard drive, enter 'GO H', followed by the letter of your drive.
ECHO If your hard drive is C, enter 'GO H C'.
ECHO If, for example, you are installing onto a network drive I, enter 'GO H I'
ECHO You must have a drive designator following 'H'.
ECHO -
ECHO Also, one space follows 'GO' and another space follows 'H'.
ECHO [do not enter 'GO H C:', only 'GO H C' {no colons following the drive}]
ECHO [Note: program requires 640 KB memory.]
PAUSE
GOTO END
:FLOPINS
ECHO OFF
CLS
ECHO INSTRUCTIONS FOR INSTALLING SERVICE PLUS [TM]
ECHO Create three ready-to-run disks (execute from drive B:)
ECHO Label three disks as follows:
ECHO Disk 1: MAINT-A {--- This is the 'HELP' disk
ECHO Disk 2: MAINT-B {--- This is the 'PROGRAM' disk.
ECHO Contains SERVICE.EXE
ECHO Disk 3: SERVICE.DOC {--- 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, MAINT-A, into drive A now.
PAUSE
A:
B:PKUNZIP -X B:MAINTA30.ZIP
CLS
ECHO Enter disk 2, MAINT-B, into drive A now.
PAUSE
A:
B:PKUNZIP -X B:MAINTB30.ZIP
B:
CLS
ECHO Insert 'Disk 2' with GO2 into drive B now.
ECHO Then execute 'GO2 F 2'
GOTO END
:FLOPINS1
ECHO Enter disk 1, MAINT-A, into drive A now.
ECHO [MAINT-A should be newly formatted, with nothing on it EXCEPT COMMAND.COM]
ECHO [Since you are using low capacity disks, most '.DOC' files have been deleted.]
ECHO [These are your on-line Help screens.]
ECHO Since DOS 2.X series uses about 40K less than DOS 3.X, use that if possible]
PAUSE
A:
B:PKUNZIP -X B:MAINTA30.ZIP FOREIGN.DOC
B:PKUNZIP -X B:MAINTA30.ZIP NATIVE.DOC
B:PKUNZIP -X B:MAINTA30.ZIP FSPACE.DOC
B:PKUNZIP -X B:MAINTA30.ZIP *.DBF
B:PKUNZIP -X B:MAINTA30.ZIP *.DBT
B:PKUNZIP -X B:MAINTA30.ZIP *.COM
B:PKUNZIP -X B:MAINTA30.ZIP *.OVL
B:PKUNZIP -X B:MAINTA30.ZIP *.FRM
CLS
ECHO Enter disk 2, MAINT-B, into drive A now.
PAUSE
A:
B:PKUNZIP -X B:MAINTB30.ZIP
B:
CLS
ECHO Insert 'Disk 2' with GO2 into drive B now.
ECHO Then execute 'GO2 F 1'
GOTO END
:HARDINS
ECHO OFF
CLS
ECHO INSTRUCTIONS FOR INSTALLING SERVICE PLUS [TM]
ECHO -
ECHO This procedure will install all files onto your hard disk, drive %2
ECHO It will create a subdirectory, \SERVICE, and split out or unarchive
ECHO all the files it needs from this single disk on drive A.
PAUSE
CLS
%2:
CD \
MKDIR SERVICE
CD SERVICE
COPY A:PKUNZIP.EXE
COPY A:MAINTA30.ZIP
PKUNZIP -X MAINTA30.ZIP
DEL MAINTA30.ZIP
COPY A:MAINTB30.ZIP
PKUNZIP -X MAINTB30.ZIP
DEL MAINTB30.ZIP
A:
CLS
ECHO Insert second disk now into drive A.
ECHO Execute GO2 %1 %2 from that second disk.
GOTO END
:END
ECHO -