Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can someone tell me why a command does not work anymore?
Message
De
12/03/2007 15:46:09
 
 
À
12/03/2007 15:42:33
William Metzener
Russell Mellon Analytical Services
Tacoma, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01202830
Message ID:
01202831
Vues:
9
>Please can someone tell me why the COPY TO command no longer works?
>
>my old code looked something like this:
>(I have table open and selected)
>select TEST
>m.pathfilename = "C:\my_folder\test.dbf"
>COPY TO m.pathfilename WITH CDX
>
>this no longer works, there have been some upgrades to the operating system on the servers i was wondering if anyone knew what the windows command for copy to was and if this was somehow deemed a security risk and closed. i can change it to the following code but i would have to change it in so many places to keep our workers up and running it does not seem like a good use of the time.
>
>m.pathfilefrom = "C:\TEST.DBF"
>m.pathfileto = "C:\my_folder\test"
>COPY FILE(m.pathfilefrom + ".DBF") TO (m.pathfileto + ".DBF")
>COPY FILE(m.pathfilefrom + ".CDX") TO (m.pathfileto + ".CDX")
>
>
>thank you for the help

Could be you're trying to copy "C:\TEST.DBF.DBF" at least that's what you'd get with m.pathfilefrom and then adding ".DBF"?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform