home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
BBS
/
DEMO225.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-11-13
|
1KB
|
53 lines
@echo off
if .%1.==.. goto help
if .%2.==.. goto help
if not exist %1\*.* goto help
if not exist %2\*.* 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 1 Megabyte
echo of hard disk space is required.
echo
goto exit
:install
%2
cd \
mkdir sldemo >nul
cd sldemo
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 ..
echo Searchlight Demo is installed. To begin, type 'DEMO'.
echo
:exit