home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
e
/
excal371.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-02-19
|
954b
|
37 lines
echo off
if "%1" == "" goto NOINPUT
if not exist %1\*.* goto DIRERROR
echo Copying files to %1
copy *.exe %1
copy *.xc2 %1
if not exist %1\xc2 goto MAKESUB
:COPYXCL
echo Copying files to %1\XC2
copy *.xcl %1\XC2
echo All Done!
goto DONE
:MAKESUB
echo Creating directory %1\XC2
md %1\xc2
goto COPYXCL
:DIRERROR
echo BBS directory %1 does not exist or is empty!
echo This program checks for files in the subdirectory,
echo since Excalibur! is normally placed in the BBS directory.
echo If subdirectory %1 is intentionally empty, copy a dummy
echo file into the subdirectory and try again using the same
echo command as before. After the installation is complete,
echo delete the dummy file from %1.
echo
:NOINPUT
echo This batch file copies the Excalibur! II game files
echo into the appropriate directories. The format is
echo INSTALL C:\BBSDIR where BBSDIR is your BBS root directory.
echo
:DONE