I'm trying to find a way to translate a network-mapped drive path to a
UNC path. For example: W:\test.txt => \\Server\Share\test.txt
Any Win32 API to do this? Thanks in advance.
R.Y.
Have a look at WNetGetUniversalName.
Dave
:(
Any clue what "sometimes" give rise to the failure?
Is it reliable if you eliminate the VMWare shared folders?
Dave
Since the mapped drive is from the VMWare Shared Folders, I can not
remove it.
I'm not sure if this is the problem of VMWare Shared Folders. But I
remember before yesterday I could make the success calls with
WNetGetUniversalName on VMWare-share-folders drives. So weird....
Good. I'd chalk that one up to some flakiness with VMware shared
folders then. I think I've seen other references to quirks using them.
Dave