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
Titre:
Getting UNC path from mapped drive letter
Divers
Thread ID:
00908765
Message ID:
00908765
Vues:
55
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.

Thanks,

Carl
Carl Chambers
Cardol Data Systems
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform