home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 281.img / SU25-1.ZIP / INSTALL2.BAT < prev    next >
DOS Batch File  |  1990-08-31  |  1KB  |  56 lines

  1. rem --- make sure drive %1 contains Disk Two.
  2. :3
  3. if exist %1\SU25.5 goto 4
  4. cls
  5. echo Insert your STORMOVIK Disk Two in drive %1
  6. pause
  7. goto 3
  8. :4
  9.  
  10. rem --- copy Disk Two files to the destination disk.
  11. echo 
  12. echo Copying STORMOVIK Disk Two...
  13. copy %1\*.* %2\SU25
  14. rem --- If this file exist then we are doing a 3.5" 2 disk install
  15. if exist %1\SU25.6 goto NoThirdDisk
  16.  
  17. rem --- make sure drive %1 contains Disk Three.
  18. :5
  19. if exist %1\SU25.6 goto 6
  20. cls
  21. echo Insert your STORMOVIK Disk Three in drive %1
  22. pause
  23. goto 5
  24. :6
  25.  
  26. rem --- copy Disk Three files to the destination disk.
  27. echo 
  28. echo Copying STORMOVIK Disk Three...
  29. copy %1\*.* %2\SU25
  30.  
  31. :NoThirdDisk
  32. if not exist %2\SU25\SU25.6 goto installationError
  33.  
  34. rem --- installation was successful!
  35. :installDone
  36. cd %2\SU25
  37. echo 
  38. echo STORMOVIK is now installed on your destination disk.  
  39. echo To run STORMOVIK, type "SU25".
  40. %2
  41. goto done
  42.  
  43. :Error1
  44. echo 
  45. echo Installation Error: could not find all of the STORMAVIK files
  46. echo on disk %2\SU25. Perhaps there is not enough free space on drive %2
  47. echo The STORMOVIK installation requires at least 1000K of free disk space.
  48. goto errorDone
  49.  
  50. rem --- goto here after an error is detected, to print a message and exit.
  51. :errorDone
  52. echo STORMOVIK was not installed correctly.
  53.  
  54. :done
  55.  
  56.