home *** CD-ROM | disk | FTP | other *** search
/ Global Amiga Experience / globalamigaexperience.iso / compressed / games / monkeydemo.lha / MonkeyDemo / floppy_install next >
Text File  |  1991-08-05  |  1KB  |  45 lines

  1. . Floppy Install script for Monkey Island Demo (05.12.91) jmc
  2. .    
  3. .key drive,file
  4. .bra {
  5. .ket }
  6. .def file "MonkeyDemo"
  7. echo "The Secret of Monkey Island Demo install script."
  8. echo ""
  9. echo "This script will install the demo onto the Diskette in the drive"
  10. echo "that is supplied as an argument to it when started."
  11. echo "If none was given it will stop shortly."
  12. echo ""
  13. if "{drive}" EQ ""
  14.    skip flop
  15. endif
  16. if not exists {drive}
  17.    echo "uh-oh...problems..."
  18.    skip probs
  19. endif
  20. if not exists {file}
  21.    skip wrongplace
  22. endif
  23. . All is well on we go
  24. copy all to {drive}
  25. echo "Let's see if all the files made it."
  26. echo ""
  27. dir {drive} all
  28. echo ""
  29. echo "All done!"
  30. skip exit
  31. . All done
  32. lab flop
  33.    echo "No drive name specified. Need DF0:, DF1:, etc."
  34.    echo "Exiting..."
  35.    skip exit
  36. lab probs
  37.    echo "Parameters supplied are no good. Device {drive} is not there!"
  38.    echo "Exiting..."
  39.    skip exit
  40. lab wrongplace
  41.    echo "You have not cd'ed to the directory containing the demo files!"
  42.    echo "Exiting..."
  43.    skip exit
  44. lab exit
  45.