SitesMasstec
Programmer
Hello colleagues!
I have the following
Code:
* Current folder
DirCorrente="'" + SYS(5) + SYS(2003) + "'"
* sub-folder (\BKARQTMP) inside the current folder
DirTemporar="'" + SYS(5) + SYS(2003) + "\BKARQTMP\*.*" + "'"
I want to copy the files inside the sub-folder (\BKARQTMP) to the main (current) folder, but I know it is not advisible to use this way (but in fact it works fine):
Code:
COPY FILE &DirTemporar TO &DirCorrente
But the command COPY FILE (DirTemporar) TO (DirCorrente) shows 'Invalid path or file name error'.
What to do?
Thank you,
SitesMasstec