home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 28 / af028.adf / Standalonediskmaker < prev    next >
AmigaDOS Script File  |  1978-10-18  |  1KB  |  34 lines

  1. .key dummy
  2. echo "Standalone disk maker by Simon MacMullen"
  3. if not exists ram:auto
  4.     echo "Place a program in the RAM disk and rename it auto before you start!"
  5.     ask "Press return to try again"
  6.     skip end
  7. endif
  8. copy c:ask|binddrivers|cd|copy|date|delete|dir|echo|endcli|install|makedir|run|setclock|setpatch to ram:c quiet
  9. cd ram:c
  10. copy sys:system/fastmemfirst|format|setmap to ram:c quiet
  11. echo "Please insert a blank disk in the internal drive, and press return."
  12. format >nil: drive df0: name "Autodisk" noicons
  13. install df0:
  14. copy ram:Auto to Autodisk: quiet
  15. delete ram:Auto
  16. copy devs: to ram:devs all quiet
  17. delete ram:devs/narrator.device
  18. copy fonts: to ram:fonts all quiet
  19. copy l:disk-validator|ram-handler|port-handler to ram:l quiet
  20. copy libs:diskfont.library|math#? to ram:libs quiet
  21. copy ram:c to Autodisk:c all quiet
  22. copy ram:devs to Autodisk:devs all quiet
  23. copy ram:fonts to Autodisk:fonts all quiet
  24. copy ram:l to Autodisk:l all quiet
  25. copy ram:libs to Autodisk:libs all quiet
  26. delete ram:devs all quiet
  27. delete ram:fonts all quiet
  28. delete ram:l all quiet
  29. delete ram:libs all quiet
  30. makedir Autodisk:s
  31. echo >Autodisk:s/startup-sequence "setpatch >nil:*nsetclock load*nbinddrivers >nil:*nsetmap gb*nfastmemfirst*ndir ram:*nrun >nil: Auto*nendcli*n"
  32. Ask "Standalone disk maker finished. Press return to continue"
  33. lab end
  34.