home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
BF
/
BF014.ZIP
/
SETUP.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-02-01
|
6KB
|
174 lines
echo off
cls
if "%1" == "" goto error
echo PDS*QUOTE Quotation system SETUP.BATch file
echo .
echo .
echo ** First a WARNING - WARNING - WARNING, while I have your attention! **
echo .
echo Your DOS "boot-up" disks MUST have the following CONFIG.SYS file commands:
echo .
echo FILES = 20 Page 2-1 of the manual will tell you how to
echo BUFFERS = 15 add these 2 commands to the CONFIG.SYS file.
echo .
echo Failure to include these will cause program crash with "File open error"
echo message when you later try to build a Quotation.
echo .
echo This is discussed in more detail in Section 2 of the manual.
echo .
echo Do a Shift/PrtScn of this screen NOW for future reference!
pause
cls
if "%1" == "B:" goto floppy
if "%1" == "b:" goto floppy
echo Since you are installing this software on a hard disk, this batch job
echo will now attempt to create the %1\PDS sub-directory to contain all of
echo the PDS*QUOTE program and data files. If you have already created
echo the %1\PDS sub-directory you may see an error message, but you can
echo continue anyway.
echo .
echo If you wish to cancel this batch job at this time,
echo press Ctrl/C (hold down the Ctrl key and press the C key).
echo .
echo If you wish to continue . . . .
echo .
pause
echo .
%1
md\pds
cd\pds
a:
echo .
echo The following files are being copied . . .
copy *.exe %1\pds
copy *.pat %1\pds
copy *.db? %1\pds
if exist qtrack.doc copy qtrack.doc %1\pds
if exist memory.doc copy memory.doc %1\pds
if exist scrlist.com copy scrlist.com %1\pds
%1
quotedoc
pause
cls
echo The instruction manual is in a file named QUOTE.DOC on your %1 drive.
echo You can just turn on your printer type COPY %1\PDS\QUOTE.DOC PRN (Enter),
goto floppy1
:floppy
echo You must have already formatted (3) disks (without DOS) BEFORE
echo you can proceed with this process. If you haven't done this,
echo please TYPE README.DOC (Enter) at the DOS prompt to find out
echo how to format the (3) disks and how they should be labeled.
echo .
echo If you wish to cancel this batch job at this time,
echo press Ctrl/C (hold down the Ctrl key and press the C key).
echo .
echo If you wish to continue . . .
echo .
pause
echo .
echo The first part of this batch job will copy the working PDS*QUOTE files to
echo the previously formatted "PDS*QUOTE Working Program" disk. At this time,
echo place the "PDS*QUOTE Working Program Disk" in drive B:. This disk must
echo already have been formatted WITHOUT DOS, but should contain the
echo COMMAND.COM file copied from your DOS boot-up disk.
echo .
pause
echo .
echo The following files are being copied . . .
copy quote.ex? %1
copy *.pat %1
echo .
echo The "PDS*QUOTE Working Program Disk" is now ready.
echo .
echo Now, place the previously formatted "PDS*QUOTE Data Files Disk" in
echo drive B:.
echo .
pause
echo .
echo The following files are being copied . . .
copy *.DB? %1/V
echo .
echo Now, place the previously formatted "PDS*QUOTE Documation Disk" in
echo drive B:.
echo .
pause
echo .
b:
a:quotedoc
pause
a:
cls
echo The (3) disks are now ready for you to use. You should now insert
echo your "PDS*QUOTE Working Program Disk" in drive A:. Insert your
echo "PDS*QUOTE Documentation Disk" in drive B: to print the manual.
echo You can just turn on your printer type COPY B:QUOTE.DOC PRN (Enter),
:floppy1
echo or you can use the QUOTE.EXE program to print the manual.
echo .
echo The first time that you run the QUOTE program, you will get an error
echo message informing you that the defaults are not yet set. You can ignore
echo this message and continue until you see the program "Main" menu so that
echo you can print the manual. If you highlight "Printer Action Table" and
echo press Enter, you can select your printers name so you can turn on near letter
echo quality to print a better copy of the manual.
echo .
echo Use the cursor keys to highlight the "Tools" Main Menu and the
echo "Print Instructions" Sub-Menu and press Enter.
echo .
echo .
echo Do a Shift/PrtScn of this screen NOW for future reference!
echo .
pause
cls
echo A note to those that have not yet registered. This is Shareware that is
echo Copyright 1988 by PRO DEV Software and you can only use an un-registered
echo copy for evaluation purposes. You MUST send the registration fee to
echo PRO DEV Software as described on the registration form at the front of the
echo instruction manual (file QUOTE.DOC) to continue using the system beyond
echo the evaluation stage.
echo .
echo When you register, you will be sent an additional disk of software and
echo documentation that adds many more features.
echo .
echo Please note the month and year on the opening Copyright screen as to
echo when this program was placed into Shareware distribution. If this copy is
echo more than 12 months old, ask your BBS or distributor why it is so old.
echo I normally send out new versions about every 6 months or less.
echo .
echo If you have an old or faulty copy, please write or call me. I send almost
echo anyone a FREE evaluation copy (including Disk Copying Services and BBS's)
echo .
echo Enjoy evaluating the PDS*QUOTE Quotation system and PLEASE REGISTER!
echo .
echo Thank you - George Abbott
pause
echo .
if "%1" == "B:" goto floppy2
if "%1" == "b:" goto floppy2
echo Now, to print the instruction manual, type COPY QUOTE.DOC PRN (Enter),
echo or type QUOTE (Enter) to run the QUOTE program to print the manual.
goto exit
:floppy2
echo .
echo Now, to print the instruction manual, type COPY B:QUOTE.DOC PRN (Enter),
echo or type QUOTE (Enter) to run the QUOTE program to print the manual.
goto exit
:error
echo You entered the command SETUP without the target drive parameter.
echo Please re-enter with SETUP followed by a space, the target drive
echo letter AND A COLON (The : Is Very IMPORTANT!). For example, to copy
echo the working files to a disk in drive B, enter . . .
echo .
echo SETUP B: (Enter)
echo .
echo If you are installing the PDS*QUOTE system on a hard disk, use the
echo drive letter for your hard disk drive such as . . .
echo .
echo SETUP C: (Enter)
echo .
echo For a hard disk, the SETUP.BAT batch file will create the PDS sub-directory
echo to contain the PDS*QUOTE files in the drive that you indicate.
echo .
echo Try again...
:exit