Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with UNC Paths
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Help with UNC Paths
Miscellaneous
Thread ID:
00677635
Message ID:
00677635
Views:
58
This is tough to explain, here goes:
I have a server ( MyServer ) that has a drive and folder ( g:\MyFolder ) that is shared on the network as ServerFolder. My local machine has a mapping to ServerFolder ( i:\ ). Here's what I can do so far: I can, on my local machine, derive from "i:\SomeFolder\SomeSubFolder" the UNC "\\MyServer\MyFolder\SomeFolder\SomeSubFolder".
So now, on my local machine, I have 2 references to SomeSubFolder, my mapping and the UNC. Now what I want to get, on my local machine, is MyServer's mapping to this UNC. i.e. something like a DecodeUnc possibly:
? "The server's mapping to \\MyServer\MyFolder\SomeFolder\SomeSubFolder is:"
? DecodeUnc( "\\MyServer\MyFolder\SomeFolder\SomeSubFolder" )
would display
The server's mapping to \\MyServer\MyFolder\SomeFolder\SomeSubFolder is:
g:\Myfolder\SomeFolder\SomeSubFolder
Anyone got any ideas on how a DecodeUnc function would work? Thanks,
jfh
Next
Reply
Map
View

Click here to load this message in the networking platform