Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't copy directory to UNC file path??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01560859
Message ID:
01560860
Vues:
50
>I'm trying to do this...
>
>lcFrom = 'C:\VFP_Projects\Appsr'
>lcTo = '\\server\APPS'
>
>oWSH.CopyFolder(lcFrom, lcTo, .T.)
>
>If I change to lcTo to something that doesn't have the \\ in it, then it works. Is there a way to do this with UNC file pathing??

I think the problem is that you did not include a folder, you just jave a server and a share \\server and \apps respectively , you should add a folder (even \ might work)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform