home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 3: The Continuation / 17-Bit_The_Continuation_Disc.iso / amigan / amigan 15 / defdisk / defdisk.doc < prev    next >
Encoding:
Text File  |  1994-01-27  |  1.1 KB  |  34 lines

  1. DEFDISK.C
  2.  
  3. A program to make a specified disk/directory the default system disk.
  4. It accomplishes this by resetting the DOS library structures to point
  5. to the new path. To use this program you will need to compile it as
  6. follows:
  7.  
  8.     1> cc defdisk
  9.     1> ln defdisk.o -lc
  10.  
  11. Real simple.  I used AZTEC C v3.40a, but I think that 3.30c or later would
  12. also work.  It should be possible to compile & build it under LATTICE as
  13. well, though I haven't tried.  Once the program is built, put it on your
  14. Workbench boot disk somewhere, load up your ram: disk or hard disk and
  15.  
  16.     1> defdisk dh0:
  17.       or
  18.     1> defdisk dh0:bin
  19.  
  20. Voila! the standard workbench assignments are now pointed at the hard
  21. disk. (SYS:, C:, L:, DEVS:, LIBS:, FONTS:)  The advantage to me in using this
  22. is that I don't have to load the Amiga DOS assign program 6 times just to
  23. point the system at the hard disk.
  24.  
  25. Author: J. K. Levie
  26.  
  27. Version 1.0 31-Mar-1987
  28.  
  29. ======================
  30. Notes:
  31.  
  32. Although this program is most useful for hard disk folks, it should work
  33. fine for use on other disk volumes, RAM:, VDK:, VD0: or whatever.
  34.