Hello;
I think it is not possible because x:\data\file.dat may also be
\\server\share\file.dat where x: is \\server\root. You have no way of knowing
the directory root vs share point to on a server.

Signature
thanks - dave
> I want to know that two forms of an absolute filename reference the same
> file. How would I do this without using interop, or is it even possible?
>
> TIA,
Raoul James - 29 Nov 2005 17:23 GMT
I agree that drive mappings can be hard to deal with, but what I'm looking
for is more things like this:
c:\mydir\myfilename.ext
\mydir\myfilename.ext
c:\mydir\myfile~1.ext
Java gives me a way to do this. I can create a file object and ask for the
canonical name.
I suspect that you're right. Everything I've found suggests that I'll have
to live without this functionality.
Thanks for the response!
> Hello;
>
[quoted text clipped - 7 lines]
>>
>> TIA,
David Thielen - 29 Nov 2005 17:40 GMT
For that look at the FileInfo class - I think it can give you what you want.

Signature
thanks - dave
> I agree that drive mappings can be hard to deal with, but what I'm looking
> for is more things like this:
[quoted text clipped - 22 lines]
> >>
> >> TIA,