home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
BF
/
BF030.ZIP
/
2.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-07-05
|
11KB
|
221 lines
ECHO off
cls
echo -
echo - ███████████████████████████████████████████████████████████████
echo - █ Very Important Message █░░
echo - █ █░░
echo - █ LOAN MASTER uses as many as ten different files. █░░
echo - █ █░░
echo - █ DOS does not allow this many files to be used unless █░░
echo - █ it is instructed to do so when the machine is booted. █░░
echo - █ █░░
echo - █ On the boot disk, there is a file called CONFIG.SYS. █░░
echo - █ This file must contain a line that reads: █░░
echo - █ "Files=20" (Without the quotes.) █░░
echo - █ █░░
echo - █ If your system has this file and if it contains a files █░░
echo - █ statement with the number = 20 or larger, you are OK. █░░
echo - █ █░░
echo - █ If your system does not have that file, there is a █░░
echo - █ CONFIG.SYS file on this disk you can copy to your █░░
echo - █ Boot disk. You must use the DOS copy command. █░░
echo - █ █░░
echo - ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
echo -
echo -
pause
cls
echo -
echo - ███████████████████████████████████████████████████████████████░
echo - █ Very Important Message █░░
echo - █ █░░
echo - █ If you forget, or omit this step, LOAN MASTER will █░░
echo - █ CRASH with an error message that states: █░░
echo - █ █░░
echo - █ ".........Database required....." █░░
echo - █ █░░
echo - █ This will not damage either your computer or the █░░
echo - █ program. █░░
echo - █ █░░
echo - █ █░░
echo - █ █░░
echo - █ █░░
echo - █ █░░
echo - █ █░░
echo - ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
echo -
echo -
pause
cls
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ │
echo - │ The LOAN PROCESSING SYSTEM requires several files to maintain │
echo - │ all its data. To work on a floppy disk system, two disks are │
echo - │ required. A program disk and a data disk. │
echo - │ │
echo - │ Before you continue, be sure you have two blank, formatted │
echo - │ disks. If you do not, press Ctrl+C NOW to abort installation. │
echo - │ │
echo - │ Label the disks Program Disk drive A: and Program Disk drive B: │
echo - │ │
echo - │ The installation program will copy the necessary files to these │
echo - │ disks. Follow the instructions on your screen... │
echo - │ │
echo - │ If you have changed your mind, press the Control-Break key NOW! │
echo - │ and answer "Y" to the terminate question. │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pause
cls
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Place the disk labeled Data Disk drive B: in your B: drive │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pause
cls
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Copying the data files and the help screens ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pkunzip lmmenusw.zip b: *.db?
cls
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Copying the user options parameter file ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pkunzip lmmenusw.zip b: lmparm.fd
del b:lmparm.dbf
ren b:lmparm.fd lmparm.dbf
cls
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Copying the Loan Master On Line Manual ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pkunzip lmmenusw.zip b: lmmenu.hlp lmmenu.qhx
cls
echo -
echo -
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Checking to see if they were all copied ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
if not exist b:lmloan.dbf goto fail
if not exist b:lmtran.dbf goto fail
if not exist b:lmhelp.dbf goto fail
if not exist b:lmhelp.dbt goto fail
if not exist b:lmparm.dbf goto fail
if not exist b:lmmenu.hlp goto fail
if not exist b:lmmenu.qhx goto fail
pause
cls
echo -
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Place the disk labeled Program Disk drive A: in your B: drive │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pause
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Copying the Loan Master program file ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pkunzip lmmenusw.zip b: lmmenu.exe
cls
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Copying the user options parameter file ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pkunzip lmmenusw.zip b: lmparm.fd
ren b:lmparm.fd lmparm.dbf
echo -
echo -
echo -
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Checking to see if they were all copied ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
echo -
if not exist b:lmmenu.exe goto fail
if not exist b:lmparm.dbf goto fail
cls
echo -
echo -
echo -
echo - ┌──────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ The LOAN PROCESSING SYSTEM is now installed ... │
echo - │ │
echo - │ 1) Place the program disk in drive A: │
echo - │ 2) Place the data disk in drive B: │
echo - │ 3) Log on to drive A: - Type A:(enter) - │
echo - │ 4) Type the command: │
echo - │ │
echo - │ LMMENU (ENTER) │
echo - │ │
echo - └──────────────────────────────────────────────────────────────────┘
echo -
echo -
goto end
:FAIL
cls
echo -
echo -
echo -
echo - ┌────────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ The installation process failed! │
echo - │ │
echo - │ The Most likely cause of failure is that the destination disk │
echo - │ is full. Check the disk space on the destination disk. It should │
echo - │ have at least one megabyte of free space. │
echo - │ │
echo - │ │
echo - └────────────────────────────────────────────────────────────────────────┘
echo -
:END