Path string from lock?
28-Jul-91 19:54:14
Sb: #12597-Path string from lock?
Fm: Khalid Aldoseri 75166,2531
To: Syndesis 76004,1763
John, it's quite a trivial piece of code. If you've got the lock to a file
you can find out its name by Examine()ing the lock to get the
FileInfoBlock. From that, you just then move backwards towards the top of
the directory tree by using ParentDir(lock), which returns a lock to the
parent directory of a lock, if it exists.
It can be easily implemented as a recursive piece of code. If you like
I'll dump the one I use. (and it works perfectly under 2.0)
Khalid.