Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using UNC Paths with VFP 9
Message
De
30/04/2007 13:36:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01220559
Message ID:
01221206
Vues:
8
>>>I know I have read in the FoxPro help files that you should not use UNC paths. This was a while ago. Does anyone know if this still applies to VFP 9?
>>>
>>>We now have to use them in one case where our small VFP 9 .EXE is run as a background service. Because it is starting as a service (which starts under a new user) there is no existing net work path mapping. We had to use UNC paths to the data on the network. It seems to run fine and very fast.
>>
>>As an addition to what Dragan said, if you need to make a directory it doesn't work if it's just a single folder but works for multiple levels.
>>Cetin
>
>Cetin,
>I'm not sure what you mean. Do you mean that you have to give the entire UNC path with the MD command?

Not only entire path, directory need to be multilevel. ie:

md \\servername\myFolder

fails.

md \\servername\myFolder\mySubfolder

succeeds creating both myFolder and myFolder\mySubfolder.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform