[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: firstname.lastname@example.org (Andrew L. M. Shalit)
- Date: 29 Oct 91 23:41:16 GMT
- In-reply-to: email@example.com'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: firstname.lastname@example.org
In article <9110291927.AB26626@aristotle.ils.nwu.edu> email@example.com 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
>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 firstname.lastname@example.org
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.)