home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
DOOR
/
ERTHLORD.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-05-12
|
2KB
|
91 lines
@echo off
cls
if exist %1\lord.exe goto begin
if not exist %1\lord.exe goto nodir
:nodir
echo.
echo -=-=-=-=-=-=-=-=-=-=-=-
echo Earthquake Lord v1.00
echo -=-=-=-=-=-=-=-=-=-=-=-
echo By: Jason Peterson
echo.
echo.
echo.
echo.
echo *Usage*
echo install -=directory where your LORD files are=-
echo.
echo *Example*
echo install c:\lord
echo.
echo.
goto finish3
:begin
echo.
echo -=-=-=-=-=-=-=-=-=-=-=-
echo Earthquake Lord v1.00
echo -=-=-=-=-=-=-=-=-=-=-=-
echo By: Jason Peterson
echo.
echo.
echo.
echo.
echo Now backing up files...
if not exist %1\lenemy.old goto bb
del %1\lenemy.old
:bb
if not exist %1\lordtxt.old goto cc
del %1\lordtxt.old
:cc
REM ren %1\lenemy.dat lenemy.old
ren %1\lordtxt.dat lordtxt.old
echo Files have been backed up...
echo.
echo.
echo.
echo Installing new files...
REM copy wenemy.dat %1\lenemy.dat
copy earth1.dat %1\lordtxt.dat
copy uninstal.bat %1\uninstal.bat
echo.
echo Files installed...
echo.
pause
cls
echo
echo
echo Installation complete!
echo To uninstall Earthquake Lord, simply run uninstal.bat from your LORD
echo directory.
echo Thanks for trying Earthquake Lord, a LORD add-on by Jason Peterson.
echo Send any comments, bugs, or suggestions to
echo Please view the ErthLord.txt file for more info on this program.
echo.
echo.
echo.
choice /c:yn Would you like to view the readme file now?
if errorlevel 2 goto finish2
if errorlevel 1 goto yes
:yes
cls
type ErthLord.doc | more
goto finish2
:finish2
cls
echo.
echo -=-=-=-=-=-=-=-=-=-=-=-
echo Earthquake Lord v1.00
echo -=-=-=-=-=-=-=-=-=-=-=-
echo By: Jason Peterson
echo.
echo.
echo.
echo.
:finish3
echo.