Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if path is local or remote
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
How to determine if path is local or remote
Divers
Thread ID:
00162674
Message ID:
00162674
Vues:
68
My program needs to determine whether a given path points to a local disk drive or a network drive. I thought of simply looking for two slash marks at the beginning of the string, e.g., at("\\",m.string)<>0, but if the network directory had been assigned to a drive letter (e.g., d:), the expression would evaluate false.

Is there an API call or any other means of determining this?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform