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 >
DOS Batch File  |  1995-05-12  |  2KB  |  91 lines

  1. @echo off
  2. cls
  3. if exist %1\lord.exe goto begin
  4. if not exist %1\lord.exe goto nodir
  5. :nodir
  6. echo.
  7. echo            -=-=-=-=-=-=-=-=-=-=-=-
  8. echo             Earthquake Lord v1.00 
  9. echo            -=-=-=-=-=-=-=-=-=-=-=-
  10. echo             By: Jason Peterson  
  11. echo.
  12. echo.
  13. echo.
  14. echo.
  15. echo *Usage*
  16. echo install  -=directory where your LORD files are=-
  17. echo.
  18. echo *Example*
  19. echo install c:\lord
  20. echo.
  21. echo.
  22. goto finish3
  23.  
  24. :begin
  25. echo.
  26. echo            -=-=-=-=-=-=-=-=-=-=-=-
  27. echo             Earthquake Lord v1.00 
  28. echo            -=-=-=-=-=-=-=-=-=-=-=-
  29. echo             By: Jason Peterson  
  30. echo.
  31. echo.
  32. echo.
  33. echo.
  34. echo Now backing up files...
  35. if not exist %1\lenemy.old goto bb
  36. del %1\lenemy.old
  37. :bb
  38. if not exist %1\lordtxt.old goto cc
  39. del %1\lordtxt.old
  40. :cc
  41. REM ren %1\lenemy.dat lenemy.old
  42. ren %1\lordtxt.dat lordtxt.old
  43. echo Files have been backed up...
  44. echo.
  45. echo.
  46. echo.
  47. echo Installing new files...
  48. REM copy wenemy.dat %1\lenemy.dat
  49. copy earth1.dat %1\lordtxt.dat
  50. copy uninstal.bat %1\uninstal.bat
  51. echo.
  52. echo Files installed...
  53. echo.
  54. pause
  55. cls
  56. echo
  57. echo
  58. echo Installation complete!
  59. echo To uninstall Earthquake Lord, simply run uninstal.bat from your LORD 
  60. echo directory.
  61. echo Thanks for trying Earthquake Lord, a LORD add-on by Jason Peterson.
  62. echo Send any comments, bugs, or suggestions to 
  63. echo Please view the ErthLord.txt file for more info on this program.
  64. echo.
  65. echo.
  66. echo.
  67. choice /c:yn Would you like to view the readme file now? 
  68. if errorlevel 2 goto finish2
  69. if errorlevel 1 goto yes
  70.  
  71. :yes
  72. cls
  73. type ErthLord.doc | more
  74. goto finish2
  75.  
  76. :finish2
  77. cls
  78. echo.
  79. echo            -=-=-=-=-=-=-=-=-=-=-=-
  80. echo             Earthquake Lord v1.00 
  81. echo            -=-=-=-=-=-=-=-=-=-=-=-
  82. echo             By: Jason Peterson  
  83. echo.
  84. echo.
  85. echo.
  86. echo.
  87.  
  88. :finish3
  89. echo.
  90.  
  91.