Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any API call to get the Base path from a UNC path?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00180686
Message ID:
00180999
Vues:
20
>The problem is equivalence of shares. If I have two shares on my drive on a Win9x or WinNT box, one at the root called D_ROOT, and another of the \Data directory called D_DATA, the following shares are equivalent:
>
>D:\Data\MyData.DBF = \\MyServer\D_ROOT\DATA\MyData.DBF
>D:\Data\MyData.DBF = \\MyServer\D_DATA\MyData.DBF
>
>Don't ask why there are two shares; the odds are either ACLs or poor planning are behind the insanity. Different users might use different shares for any number of reasons.
>
>In order to resolve the equivalence, you need to force the names to resolve in the same way; one way to do this is use the local context. It's a major PITA to code.

I think I'll drop out here. You're much more qualified than I to address this stuff.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform