home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
chip-cd_2000_05.zip
/
05
/
aktualnosci
/
shareware
/
euphoria
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1999-03-04
|
1KB
|
65 lines
@echo off
rem How to install Euphoria:
rem Step 1. cd into directory containing the files
rem Step 2. install
if exist 1.dat goto start1
goto try
:start1
if exist 2.dat goto start2
goto try
:start2
rename 1.dat install.ex
rename 2.dat ex.exe
:try
if not exist ex.exe goto fail
if not exist install.ex goto fail
ex install
if errorlevel 1 goto quit
call docall.bat
echo.
echo Install completed. Your new EUPHORIA directory has been created.
echo You might start by viewing README.HTM (or README.DOC)
if "%EUDIR%"=="" goto reboot
goto done:
:reboot
echo after you shut down and restart (soft-reboot) your computer.
:done
del docall.bat
goto end
:fail
if exist bin\ex.exe goto already
echo You must first cd to the directory containing
echo all of the Euphoria files, then type: install
echo See install.doc for detailed instructions.
goto quit
:already
echo You have already installed Euphoria.
echo See INSTALL.DOC if you need to change your AUTOEXEC.BAT file.
echo.
echo Your current PATH is: %PATH%
echo.
echo Your current EUDIR is: %EUDIR%
echo.
goto quit
:end
echo.
copy ex.exe \euphoria\bin > NUL
copy install.ex \euphoria\bin > NUL
del ex.exe
del install.ex
pause
:quit