[comp.sys.mac.programmer] have pathname, will travel

kpmiller@uokmax.ecn.uoknor.edu (Kent P Miller) (03/26/91)

I axed this a few days ago, but our machine has been up and down so I'm not
sure if it made it out or not.

Basically, my problem is, I have a full pathname and I need to get the
vRefNum and the DirID for it.  I have tried using PBGetFInfo, but it seems
to hang my machine.  I have seen the code for getting a pathname from
a filename and dirid in the usenet programming guide, I just need to do
the reverse.  Any suggestions?  Is there a toolbox call for this, or do
I need to strip off the volume name and go down subdirectory by subdirectory?

Any help would be much appreciated.

Kent
-- 
-----------------------
Kent Miller
KENT@aardvark.ucs.uoknor.edu
Bitnet -> KENT@uokucsvx