home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
BF
/
BF030.ZIP
/
1.BAT
next >
Wrap
DOS Batch File
|
1990-07-07
|
9KB
|
172 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 │
echo - │ files to function completely. │
echo - │ │
echo - │ If you want these files in a subdirectory, you must first │
echo - │ create the subdirectory, and then log on to that subdirectory. │
echo - │ This program will install the files into the current │
echo - │ subdirectory of your hard disk C: │
echo - │ │
echo - │ If you are ready, I will copy the necessary files to your │
echo - │ hard disk now. │
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 - │ Copying the data files and the help screens ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pkunzip lmMENUSW.zip C: *.db?
cls
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Copying the user options parameter file ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pkunzip lmMENUSW.zip C: lmparm.hd
del C:lmparm.dbf
ren c:lmparm.hd lmparm.dbf
cls
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Copying the Loan Master On Line Manual ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pkunzip lmMENUSW.zip C: lmmenu.hlp lmmenu.qhx
cls
echo -
echo -
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Copying the Loan Master program file ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
echo -
echo -
pkunzip lmMENUSW.zip C: lmmenu.exe
cls
echo -
echo -
echo -
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Checking to see if they were all copied ... │
echo - │ │
echo - └─────────────────────────────────────────────────────────────────────┘
if not exist C:lmmenu.exe goto fail
if not exist C:lmmenu.hlp goto fail
if not exist C:lmloan.dbf goto fail
if not exist C:lmtran.dbf goto fail
if not exist C:lmhelp.dbf goto fail
if not exist C:lmhelp.dbf goto fail
if not exist C:lmhelp.dbt goto fail
if not exist C:lmparm.dbf goto fail
cls
echo -
echo -
echo -
echo - ┌──────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ The LOAN PROCESSING SYSTEM is now installed ... │
echo - │ │
echo - │ To run the program, log on to the C: drive and type: │
echo - │ │
echo - │ LMMENU(enter) │
echo - │ │
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