Information générale
Catégorie:
Fonctions Windows API
The easiest way I can think of is to scan all drives and see if there's one connected to a specific remote path. You can use GetLogicalDriveStrings() to enumerate the drives and WNetGetConnection() to get the remote path associated with a drive letter.
If you're using VFP, you can use my DriveInformation class (from the Files section) to retrieve this info in a easier way.
Vlad
>Any other way to find a local letter for a network drive?
>Thanks Mark
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement