[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FInding the System (preferences) folder...

In article <9110291927.AB26626@aristotle.ils.nwu.edu> lynch@aristotle.ils.nwu.edu writes:

   >There's nothing special about preference files, it's just a convention. The
   >Finder only knows about control panels, fonts, sounds, DAs, and a variety of
   >My idea from reading Apple's literature (though I have no precise quote) is
   >that preference files are not supposed to be manipulated by the user. The
   >application should create a default prefs file when none is found, a likely
   >situation anyway.
   >Use the FindFolder trap to find the prefs folder. Its name changes when the
   >System is localized.

   Maybe I'm just being stupid, but how do I find the volume number of the
   Boot (System) Volume.
   I need that to call #_FindFolder, I think.
   "TANSTAAFL" Rich lynch@ils.nwu.edu

You can pass -1 to indicate the system volume.  This should be clear
from the code I sent you.  (There's even a comment explaining the
meaning of the -1.)