home *** CD-ROM | disk | FTP | other *** search
- DEFDISK.C
-
- A program to make a specified disk/directory the default system disk.
- It accomplishes this by resetting the DOS library structures to point
- to the new path. To use this program you will need to compile it as
- follows:
-
- 1> cc defdisk
- 1> ln defdisk.o -lc
-
- Real simple. I used AZTEC C v3.40a, but I think that 3.30c or later would
- also work. It should be possible to compile & build it under LATTICE as
- well, though I haven't tried. Once the program is built, put it on your
- Workbench boot disk somewhere, load up your ram: disk or hard disk and
-
- 1> defdisk dh0:
- or
- 1> defdisk dh0:bin
-
- Voila! the standard workbench assignments are now pointed at the hard
- disk. (SYS:, C:, L:, DEVS:, LIBS:, FONTS:) The advantage to me in using this
- is that I don't have to load the Amiga DOS assign program 6 times just to
- point the system at the hard disk.
-
- Author: J. K. Levie
-
- Version 1.0 31-Mar-1987
-
- ======================
- Notes:
-
- Although this program is most useful for hard disk folks, it should work
- fine for use on other disk volumes, RAM:, VDK:, VD0: or whatever.
-