Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!dogie.macc.wisc.edu!uwvax!rutgers!att!pegasus!ech From: ech@pegasus.ATT.COM (Edward C Horvath) Newsgroups: comp.sys.mac.programmer Subject: Re: Scrap Management, User Preferences Message-ID: <2835@pegasus.ATT.COM> Date: 28 Apr 89 15:21:02 GMT References: <1867@etive.ed.ac.uk> Organization: AT&T ISL Middletown NJ USA Lines: 15 From article <1867@etive.ed.ac.uk>, by nick@lfcs.ed.ac.uk (Nick Rothwell): > In article <28905@ucbvax.BERKELEY.EDU> oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) writes: >>A file, either data or resoruce, that you find using poor-man's-search-path, > I presume you mean a hard-wired path like "::System Folder:Config" or > something... No, don't use hardwired pathnames if you can avoid it. The PMSP is not a convention, it's documented in various TechNotes, but see especially TN 77 (others: 69, 101, 214). The PMSP is used when you use an ioVRefNum of 0 to an _Open trap, and searches the default directory (usually the AppRefNum, unless you've called SetVol), the BootDrive (0x210) and the Blessed folder (as reported by SysEnvirons) in that order. =Ned Horvath=