Page 1 of 1

File Copy Slowness

Posted: Mon Jun 08, 2009 10:41 am
by dbortunk
Why is it that "Create File List" used with a Text Loop-Copy/Move File is very slow to process as opposed to a straight Copy/Move task? The problem with using a straight Copy/Move file task is that there are no Date Filter options there. Is there a reason for this?

File Copy Slowness

Posted: Mon Jun 08, 2009 11:03 am
by Oleg
Because if you use file list in the Copy/Move action this is only one action.
In this case RoboTask uses only optimised native program code and it doesn't need to make the interpretation of the task.

File Copy Slowness

Posted: Mon Jun 08, 2009 11:11 am
by dbortunk
So why can't the file filter part be built into the Copy/Move task to make it faster

File Copy Slowness

Posted: Mon Jun 08, 2009 12:14 pm
by Oleg
You simply may do you task like this:

Search for file // and save to c:\filelist.txt
Copy/Move files // specify in the file list {TextFile(c:\filelist.txt)}

File Copy Slowness

Posted: Mon Jun 08, 2009 12:19 pm
by dbortunk
You mean as opposed to doing the text loop? What is the disadvantage to doing it that way or the advantage of using the text loop?