UNC vs MAPPED drives

P

Peter Larsen

Hi,

How do i convert a mapped drive to an UNC path i .Net 2.0 ??
Is it really necessary to use "WNetGetUniversalName" ??

BR
Peter
 
P

Paul Clement

¤ Hi,
¤
¤ How do i convert a mapped drive to an UNC path i .Net 2.0 ??
¤ Is it really necessary to use "WNetGetUniversalName" ??

Either that or WNetGetConnection or the File System Object.


Paul
~~~~
Microsoft MVP (Visual Basic)
 
P

Peter Larsen

Please explain to me what you mean about "File System Object" ??

What i really want to do, is to understand how Explore know that a changes
in a UNC path also should be reflected in others UNC paths, like this:
\\servername\dir is the same as \\companyname\city\dir.

How does Explore knows when the above dirs is the same ??
I have tried to compare pidl's (IShellFolder:CompareIDs), but it doesn't
work.

Thank you in advance.
BR
Peter
 
P

Peter Larsen

I think i have found an explanation to how Explore notify about directory
changes (SHCNE_UPDATEDIR).
It seems like the shell remember which directories i have looked in and
notify me if any of those directories has changed.

/Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top