General information
Category:
Coding, syntax & commands
Title:
Copy file + variable, error
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only