Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy file + variable, error
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Copy file + variable, error
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01336220
Message ID:
01336220
Views:
66
I teste


COPY FILE &anxFullPth TO "DADOS\ENVIO.DBF"

works fine


Then

txtPathName = "DADOS\ECT\" + "ECT" + CHRTRAN(DTOC(DATE()),"/","") + ".TXT"
COPY FILE &anxFullPth TO txtPathName

Returns:

"command contains unrecognized phrase/keyword"

Also tried

COPY FILE &anxFullPth TO &txtPathName

***** &anxFullPth is the file to be copied with its full path
Next
Reply
Map
View

Click here to load this message in the networking platform