home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The California Collection
/
TheCaliforniaCollection.cdr
/
his010
/
lists625.exe
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-11-03
|
2KB
|
67 lines
echo off
cls
echo
echo LIST MANAGER VERSION 6.25
echo HARD DISK INSTALLATION
echo
if "%1==" goto Helpinst
echo You can copy the LISTS MANAGER to your hard disk by following
echo this installation procedure. The program and data files will
echo be installed in a directory of the drive you entered labeled
echo "%1:\LISTS" from the origional files on this distribution disk.
echo
echo
echo The LISTS MANAGER will be installed on drive %1:
echo
ask " Is all correct to begin installing the program ? (Y/N) ", yn
if ERRORLEVEL 1 goto START
if ERRORLEVEL 2 goto END
goto END
:START
if exist c:\config.sys goto BEGIN
copy a:\config.smp c:\config.sys
:BEGIN
if exist %1:\LISTS\LISTS.EXE goto ErrExist
if exist %1:\LISTS\LIST.dbf goto ErrExist
echo
echo Copying files to drive %1:\LISTS
echo
copy LISTS.bax %1:\LISTS.bat
md %1:\lists
copy LISTS.exe %1:\lists\LISTS.exe
copy LIST.dbf %1:\lists\LIST.dbf
copy LISTCAL.dbf %1:\lists\LISTCAL.dbf
copy LISTKEY.dbf %1:\lists\LISTKEY.dbf
copy LISTLET.dbf %1:\lists\LISTLET.dbf
copy LISTDRV.dbf %1:\lists\LISTDRV.dbf
copy TRAN.dbf %1:\lists\TRAN.dbf
copy *.mem %1:\lists
echo
echo
echo The LISTS MANAGER has been successfully installed on %1:\LISTS
goto END
:Helpinst
echo
echo
echo Install is aborted!!
echo
echo You entered the command incorrectly. The correct syntax is:
echo
echo " INSTALL C " To install the LISTS MANAGER on drive C:
echo
echo Use the destination drive letter appropriate for your install.
goto END
:ErrExist
echo
echo
echo Install is aborted!!
echo
echo LISTS MANAGER files already exists on drive %1:\LISTS
echo please check before re-running install
goto END
:END
echo
echo
pause
cls