Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!uw-june!marty From: marty@june.cs.washington.edu (Marty Sirkin) Newsgroups: comp.sys.mac.programmer Subject: Getting a complete pathname Message-ID: <7326@june.cs.washington.edu> Date: 20 Feb 89 21:08:40 GMT Organization: U of Washington, Computer Science, Seattle Lines: 11 I am currently using (in LSP 2.0) SFGetFile to select an input file (with a custom dialog box and dialogHook procedure). It works just great. My problem is that when a file is selected, the reply record returns a file name and directory ref number. I really need the pathname, not the number as I need to use the staandard pascal reset/rewrite... I have looked through IM 2 and 4, but cannot seem to find what I need. It should not be too tough, as the LSP routine "getoldfile" does return the whole path name. Any ideas? I appreciate the help. Marty Sirkin