Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!lll-winken!uunet!mcsun!mcvax!unido!iraun1!smurf!urlichs From: urlichs@smurf.ira.uka.de (Matthias Urlichs) Newsgroups: comp.sys.mac.programmer Subject: Re: File Manager question Message-ID: <778@smurf.ira.uka.de> Date: 21 Aug 89 20:47:54 GMT References: <1437@draken.nada.kth.se> <872@cbnewsk.ATT.COM> Reply-To: urlichs@smurf.ira.uka.de (Matthias Urlichs) Organization: University of Karlsruhe, FRG Lines: 24 In article <8334@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes: [ABout saving prefs in App folder or System folder] >The system folder solution is the one everyone else uses, so you really >ought to do the same to avoid confusing the user. In comp.sys.mac.programmer, ech@cbnewsk.ATT.COM (ned.horvath) writes: < There are two issues: keep conceptually "read only" files -- thesaurus < and dictionary if you're a WP, "toolkits" if you're doing CAD, Host files < if you're communications, etc. -- in the application folder. That folder < is easy to find, just do a "GetVol" at launch time and remember the vRefNum. < Why keep them anywhere special? If I want to get at any "special" files, I just do an _Open with the volume refnum set to zero so that the PMSP gets walked down. (If the file is found, of course, I try to check the file type..) Same for Preferences files. If it's there I never delete it, just overwrite and set EOF. That way, the user can keep his/her files anywhere he/she wants. If the Prefs file is not there, I create it in the System Folder. If the user want to move it somewhere else, no problem; if it's still in the PMSP somewhere, my app will find it. Apple: Any documentation (Technote??) on how to set and/or examine the PMSP? -- Matthias Urlichs -- urlichs@smurf.ira.uka.de