🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #16853

Re: obtaining the full pathname of a file

#16853
From: John Cavallino
Date: Fri, 12 Jun 1987 03:08
16 lines
1191 bytes

It seems that many people are interested in how to do this.  I have posted
some tested code (in pascal) to comp.sources.mac.  It includes a function which
takes a volume reference number, a file name and a directory ID and returns the
full path.  It checks for HFS vs. MFS and does the right thing in either case.
It even attempts to salvage things if the file turns out to be too deeply nested
for the full path to fit in a pascal string. Use and enjoy.
	Yours.
	   John C.



-- 
...ihnp4!gargoyle!sphinx!cute
(insert pithy quote here)
Technical Details
Message-ID: <1970@sphinx.uchicago.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!oddjob!sphinx!cute
References: <1345@batcomputer.tn.cornell.edu> <4196@drutx.ATT.COM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!oddjob!sphinx!cute
From: cute@sphinx.uchicago.edu (John Cavallino)
Newsgroups: comp.sys.mac
Subject: Re: obtaining the full pathname of a file
Message-ID: <1970@sphinx.uchicago.edu>
Date: Thu, 11-Jun-87 23:08:54 EDT
Article-I.D.: sphinx.1970
Posted: Thu Jun 11 23:08:54 1987
Date-Received: Sat, 20-Jun-87 12:53:53 EDT
References: <1345@batcomputer.tn.cornell.edu> <4196@drutx.ATT.COM>
Reply-To: cute@sphinx.UUCP (John Cavallino)
Distribution: world
Organization: U Chicago Computation Center
Lines: 16
Keywords: HFS, paths, pascal