home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
80.img
/
LOYFRM1.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-07-31
|
1KB
|
47 lines
echo off
cls
echo This program will install Ys on your hard disk.
echo Press Control-C to cancel installation.
echo
echo Insert Ancient Land of Ys Program disk into drive and
pause
cls
echo Installing Ys will take a few minutes. Please wait...
for %%x in (a: A: b: B: c: C: d: D: e: E:) do if "%1"=="%%x" goto continue3
goto failure
:continue3
if exist %1ys.exe goto failure
mkdir %1ys
cd %1ys
mkdir %1maps
mkdir %1barter
mkdir %1music
mkdir %1fights
copy *.* %1 >nul
cls
:failure2
if exist border.pes goto cont2
echo Insert Ancient Land of Ys Data disk into drive and
pause
goto failure2
:cont2
cls
echo Installing Ys will take a few minutes. Please wait...
cd %1maps
copy maps %1 >nul
cd %1..\barter
copy barter %1 >nul
cd %1..\music
copy music %1 >nul
cd %1..\fights
copy fights %1 >nul
cd %1..
copy *.* %1 >nul
IF ERRORLEVEL 1 ECHO Not enough disk space.
echo
echo Installation complete!
goto end
:failure
echo Invalid drive specification.
:end