Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the UNC path to local drive?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00643120
Message ID:
00643196
Vues:
14
>>>>No, I think. The correct UNC path must be something like "\\MyWorkstation\C:\DTS\DTS__SomeFile.dts"
>>>
>>>Nope. A UNC is formed in the template:
>>>
>>>
\\<Server Name>\<Share Name>
>>>
>>>Server name and share name cannot contain either : or \ characters. It's strongly suggested that the Server Name (AKA Machine Name) and Share Name use no more than 15 characters with no delimiter characters, and if Win16 compatibility is an issue, 8 characters.
>>
>>I tried API function PathIsUNC() in shlwapi.dll and it returns OK.
>
>Try using it with NET USE or WNetAddConnection2()

OK, you win!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform