Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!apple.com!chewy From: chewy@apple.com (Paul Snively) Newsgroups: comp.sys.mac.programmer Subject: Re: Getting the full pathname? Message-ID: <4665@internal.Apple.COM> Date: 11 Oct 89 16:51:45 GMT References: <6464@pt.cs.cmu.edu> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 20 In article <6464@pt.cs.cmu.edu> fryd@g.gp.cs.cmu.edu (Michael Fryd) writes: > Is there any way to get the real filename and directory name for an open > file? I would like to avoid trying to parse the filename myself, If > I can get the Mac to tell me where the file is, Scribe will have a better > chance of working when system 7 comes out. > > Thanks > Michael Fryd (412) 751-5557 > MEFCO, Inc. Fax: (412) 751-8403 > 2401 Coulter Road Arpa: Michael.Fryd@cs.cmu.edu > McKeesport, PA 15131-4251 If you really want the best chance of working properly in the future, don't use pathnames internally; convert them to volumename/dirID/filename form and use that internally. And if you know you're running under System 7 or later, you may or may not wish to use the fileID. __________________________________________________________________________ Just because I work for Apple Computer, Inc. doesn't mean that they believe what I believe or vice-versa. __________________________________________________________________________