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:
00643164
Vues:
21
>>I am trying to use a class, that has, as one of its required parameters a UNC Path to a file. is 'C:\DTS\DTS__SomeFile.dts' the correct UNC path for a file on the C drive in the DTS folder.
>
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform