Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ll-xn!oberon!pollux.usc.edu!kcng From: kcng@pollux.usc.edu (Keung-Chi Ng) Newsgroups: comp.sys.mac.programmer Subject: How to get the PATHNAME of a selected file with MacApp. Message-ID: <9269@oberon.USC.EDU> Date: 23 May 88 05:43:15 GMT Sender: news@oberon.USC.EDU Reply-To: kcng@pollux.usc.edu (Keung-Chi Ng) Organization: University of Southern California, Los Angeles Lines: 19 I am interested in finding out the PATHNAME of a selected file (using OPEN in my application) because I want to read in the other related files as well. Since the TDocument.DoRead only provides the vRefNum and aRefNum (the reference numbers for the volume and the selected file on the disk), how can I get the PATHNAME with these information provided by MacApp. I am using MPW Pascal with MacApp and any solution in Pascal seems to be fine with me. Any pointers and solutions as to how to extract the PATHNAME would be highly appreciated. Thanks in advance. Keung-Chi Ng kcng@pollux.usc.edu Keung-Chi Ng Computer Science Department, MC-0782 University of Southern California