[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FInding the System (preferences) folder...
- To: info-mcl
- Subject: Re: FInding the System (preferences) folder...
- From: alms@cambridge.apple.com (Andrew L. M. Shalit)
- Date: 29 Oct 91 23:41:16 GMT
- In-reply-to: lynch@aristotle.ils.nwu.edu's message of 29 Oct 91 19:27:38 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: Apple Computer Inc, Cambridge, MA
- References: <9110291927.AB26626@aristotle.ils.nwu.edu>
- Sender: news@cambridge.apple.com
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
>extensions.
>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.)
-andrew