home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
DEMO350.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-09-08
|
3KB
|
88 lines
@echo off
if .%1.==.. goto help
if .%2.==.. goto help
if not exist %1\MAIN.EXE goto help
goto install
:help
echo
echo To install the demo, type "INSTALL X: Y:" where X: is the source
echo drive (drive with the demo disk) and Y: is the destination (hard) drive.
echo For example, to install from a floppy disk in drive A to drive C, type:
echo
echo INSTALL A: C:
echo
echo If you are installing this demo from a directory on your hard drive
echo rather than from a floppy disk, specify the ENTIRE DIRECTORY NAME of
echo the directory where these installation files are located. For example,
echo if you unZipped a demo file obtained from a BBS into your "c:\telix\dl"
echo directory, the command you'd want to type is:
echo
echo INSTALL C:\TELIX\DL C:
echo
echo The install program will create a directory called \SLDEMO on the
echo destination drive, and install the demo there. Approximately 2 Megabytes
echo of hard disk space is required.
echo
goto exit
:install
%2
cd \
mkdir %2\sldemo >nul
if not exist %2\sldemo\nul goto help
cd sldemo
if exist bbs.exe goto reinstall
echo
echo Installing Searchlight Demo. Please Wait.
mkdir text >nul
mkdir subs >nul
mkdir menu >nul
%1\main >nul
cd text
%1\text >nul
cd ..\subs
%1\subs >nul
cd ..\menu
%1\menu >nul
cd ..
if not exist bbs.ovr goto freespace
if not exist strings.sys goto freespace
if not exist subs\bulletins.msg goto freespace
cls
echo
echo The Searchlight BBS Demo is installed.
echo
echo ■ To start the demo program in local mode, type 'DEMO'.
echo Follow the instructions that appear on your screen.
echo
echo ■ To run the Searchlight Configuration program, type 'CONFIG'.
echo You can also start the CONFIG program from within the demo.
echo
echo ■ To read the Searchlight documentation, type 'MANUAL'.
echo You can also browse or print MANUAL.TXT with other programs.
echo (If the documentation file is not available, you may download it
echo separately from our support BBS at 516-689-2566).
echo
echo ■ For more information about how to configure Searchilght to accept
echo a remote call and other startup options, see the bulletins screen
echo inside the demo, or consult the documentation file.
echo
goto exit
:reinstall
echo
echo You have already installed this demo. Please erase all the files
echo from the \SLDEMO directory before installing this demo again.
goto exit
:freespace
echo
echo All the files needed for this demo were not installed. Please free
echo some more space on your harddrive and install the demo again.
goto exit
:exit