home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / chip-cd_2000_05.zip / 05 / aktualnosci / shareware / euphoria / INSTALL.BAT < prev    next >
DOS Batch File  |  1999-03-04  |  1KB  |  65 lines

  1. @echo off
  2. rem    How to install Euphoria:
  3. rem    Step 1.  cd into directory containing the files
  4. rem    Step 2.  install
  5.  
  6.  
  7. if exist 1.dat goto start1
  8. goto try
  9.  
  10. :start1
  11. if exist 2.dat goto start2
  12. goto try
  13.  
  14. :start2
  15. rename 1.dat install.ex
  16. rename 2.dat ex.exe
  17. :try
  18. if not exist ex.exe goto fail
  19. if not exist install.ex goto fail
  20. ex install
  21. if errorlevel 1 goto quit
  22.  
  23. call docall.bat
  24.  
  25. echo.
  26. echo Install completed. Your new EUPHORIA directory has been created.
  27. echo You might start by viewing README.HTM (or README.DOC)
  28. if "%EUDIR%"=="" goto reboot
  29. goto done:
  30.  
  31. :reboot
  32. echo after you shut down and restart (soft-reboot) your computer.
  33.  
  34. :done
  35. del docall.bat
  36. goto end
  37.  
  38. :fail
  39. if exist bin\ex.exe goto already
  40. echo You must first cd to the directory containing 
  41. echo all of the Euphoria files, then type: install
  42. echo See install.doc for detailed instructions.
  43. goto quit
  44.  
  45. :already
  46. echo You have already installed Euphoria.
  47. echo See INSTALL.DOC if you need to change your AUTOEXEC.BAT file.
  48. echo.
  49. echo Your current PATH is:  %PATH%
  50. echo.
  51. echo Your current EUDIR is:  %EUDIR%
  52. echo.
  53. goto quit
  54.  
  55. :end
  56. echo. 
  57. copy ex.exe \euphoria\bin > NUL
  58. copy install.ex \euphoria\bin > NUL
  59. del ex.exe
  60. del install.ex
  61. pause
  62.  
  63. :quit
  64.  
  65.