home *** CD-ROM | disk | FTP | other *** search
- ; :ts=8
- ;
- ; File: Example Startup-Sequence
- ; Author: Perry S. Kivolowitz, ASDG Incorporated
- ; Distribution Status: Publicly Redistributable
- ;
- ; This startup-sequence provides a good example as to how the ASDG
- ; Recoverable Ram Disk can be automatically integrated into your working
- ; environment.
- ;
- Mount VD0:
- Echo "Loading VD0: And Checking Conve the Commands directory over to vd0 if needed and set up path.
- ;
- If NOT EXISTS VD0:C
- Makedir VD0:C
- Copy DF0:C VD0:C all
- Endif
- Assign C: VD0:C
- echo "Commands running from VD0:C"
- ;
- ; Move the System directory over to vd0 if needed and set up path.
- ;
- If NOT EXISTS VD0:System
- Makedir VD0:System
- Copy DF0:System#? VD0:System all
- Endif
- Path VD0:System Add
- Echo "System directory running from VD0:System"
- ;
- ; Move the Utilities directory over to vd0 if needed and set up path.
- ;
- If NOT EXISTS VD0:Utilities
- Makedir VD0:Utilities
- Copy DF0:Utilities#? VD0:Utilities all
- Endif
- Path VD0:Utilities Add
- Echo "Utilities directory running from VD0:Utilities"
- ;
- ; Move the Fonts directory over to vd0 if needed and set up path.
- ;
- If NOT EXISTS VD0:Fonts
- Makedir VD0:Fonts
- Copy DF0:Fonts VD0:Fonts all
- Endif
- Assign Fonts: VD0:Fonts
- Echo "Fonts are running from VD0:Fonts"
- ;
- ; Move the Devs directory over to vd0 if needed and set up path.
- ;
- If NOT EXISTS VD0:Devs
- Makedir VD0:Devs
- Copy DF0:Devs VD0:Devs all
- Endif
- Assign Devs: VD0:Devs
- Echo "Devices will be loaded from VD0:Devs"
- Echo "Note: New Preferences will go to VD0:Devs!"
- ;
- ; Move the Libs directory over to vd0 if needed and set up path.
- ;
- If NOT EXISTS VD0:Libs
- Makedir VD0:Libs
- Copy DF0:Libs VD0:Libs all
- Endif
- Assign Libs: VD0:Libs
- Echo "Libraries will be loaded from VD0:Libs"
- ;
- ; Move the S directory over to vd0 if needed and set up path.
- ;
- If NOT EXISTS VD0:S
- Makedir VD0:S
- Copy DF0:S VD0:S all
- Endif
- Assign S: VD0:S
- Echo "Scripts will be looked for in VD0:S"
- ;
- ; Move the L directory over to vd0 if needed and set up path.
- ;
- If NOT EXISTS VD0:L
- Makedir VD0:L
- Copy DF0:L VD0:L all
- Endif
- Assign L: VD0:L
- Echo "Handlers will be loaded from VD0:L"
- ;
- ; Make it possible to run completely with workbench disk installed.
- ;
- Assign SYS: VD0:
- Echo "DF0: may now contain any diskette"
- ;
- ;
- Echo "Workbench disk. Release 1.2 version 33.44"
- Echo " "
- Echo "Use Preferences tool to set date"
- Addbuffers df0: 16
- BindDrivers
- LoadWb