home *** CD-ROM | disk | FTP | other *** search
/ Season's Greetings & Games Unlimited / UGOLD_cd2.iso / rodge / install.bat < prev    next >
DOS Batch File  |  1995-03-19  |  2KB  |  77 lines

  1. echo off
  2. cls
  3. echo       Rodge Rock in Retro Active installation batch (C) 1995
  4. echo       ------------------------------------------------------
  5. choice /c:CDE Which hard disk do you wish to install Retro Active on 
  6. if errorlevel 3 goto edrive
  7. if errorlevel 2 goto ddrive
  8. if errorlevel 1 goto cdrive
  9. goto endbad
  10.  
  11. :cdrive
  12. if not exist c:\nul goto cend
  13. if exist c:\rodge\rodge.exe goto skip1
  14. if exist c:\rodge\nul goto end1
  15. :skip1
  16. md c:\rodge
  17. copy *.* c:\rodge
  18. c:
  19. cd \rodge
  20. goto ennd
  21.  
  22. :ddrive
  23. if not exist d:\nul goto dend
  24. if exist d:\rodge\nul goto end1
  25. md d:\rodge
  26. copy *.* d:\rodge
  27. d:
  28. cd \rodge
  29. goto ennd
  30.  
  31. :edrive
  32. if not exist e:\nul goto eend
  33. if exist e:\rodge\nul goto end1
  34. md e:\rodge
  35. copy *.* e:\rodge
  36. e:
  37. cd \rodge
  38. goto ennd
  39.  
  40.  
  41. :cend
  42. echo Can't find drive c: . Rodge Rock in Retro Active not installed.
  43. goto end
  44. :dend
  45. echo Can't find drive d: . Rodge Rock in Retro Active not installed.
  46. goto end
  47. :eend
  48. echo Can't find drive e: . Rodge Rock in Retro Active not installed.
  49. goto end
  50.  
  51. :end1
  52. echo The directory \RODGE already exists on your hard disk.
  53. echo To install Retro Active create a new directory on your hard disk and copy
  54. echo all the files on the floppy to this directory. To play type Rodge.
  55. goto end
  56.  
  57. :end2
  58. echo Unable to copy files onto your hard disk.
  59. goto end
  60.  
  61.  
  62. :endbad
  63. echo Rodge Rock in Retro Active has not been installed.
  64. goto end
  65.  
  66. :ennd
  67. echo Rodge Rock in Retro Active is now installed on your hard disk.
  68. echo To play type RODGE .
  69. goto end
  70.  
  71.  
  72.  
  73. :end
  74. echo on
  75.  
  76.  
  77.