Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting UNC path from mapped drive letter
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00908765
Message ID:
00908770
Views:
25
Carl,

You can do that using WSH Re: Tell me drive mapped to 'lrl5emd6' Message #890111 or Windows API Re: How can i get the shared resource path my lpt1 is mapped Message #683884

>Hi all,
>
>Does anyone know how to determine the full \\server\sharename\ from a mapped drive letter. I need to store full file paths in a table on the server but cannot be certain that all machines have the same drive mappings so I figured I'd save the UNC path in the table. But I don't want to burden the user with entering a UNC path when creating a record. I want them to be able to use the Open Dialog and then programmatically substitute the UNC path for the drive letter.
>
>I may also need to be able to get the drive letter for a \\server\sharename\ at some point.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform