Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy file + variable, error
Message
From
04/08/2008 11:39:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01336220
Message ID:
01336251
Views:
13
>>Don't use &, instead use (), and never add "" when you specify the filename directly
>>COPY FILE (anxFullPth) TO DADOS\ENVIO.DBF
>>COPY FILE (anxFullPth) TO (txtPathName)
>
>Tore,
>
>One correction you need to use "" if the file name has spaces in it as in;
>
>COPY FILE (anxFullPth) TO" DA DOS\ENVIO.DBF"

Correct. As a matter of fact, I should not have written the lats part of the message, since the "" will be discarded by VFP anyway if they are not needed.
Previous
Reply
Map
View

Click here to load this message in the networking platform