Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting UNC path from mapped drive letter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00908765
Message ID:
00910767
Vues:
24
Thanks, Sergey.

That's very helpful.

Carl

>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.
Carl Chambers
Cardol Data Systems
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform