Problem with filecopy

Discussions about CSEntry
Post Reply
htuser
Posts: 687
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Problem with filecopy

Post by htuser »

Dear all,
;) I'm unable to copy a group of file to a folder using filecopy function. It's because i require your precious help. For a quick help, please see the application(copy_data) in attached folder.
In a other way :oops: , i can't copy a file to another file, also using filecopy, when using menu. The problem is that my data file name are dynamic using operator ID.

When i try to create dynamic filename with filecopy with the same parameters as the

Code: Select all

"InputData=%s",concat(strip(dataFolder),strip(surveyorsurname),"_",strip(surveyorname),"_",strip(computerid),".dat"))
; that's doesn't work to create the filename of

Code: Select all

filecopy(concat(strip(dataFolder),strip(filename)), backupfolder);
However, it work perfectly in the menu(pff) and create the datafile with proper name.
Thanks in advance for your help.
HTUSER
You do not have the required permissions to view the files attached to this post.
G.VOLNY, a CSProuser from Haiti, since 2004
Post Reply