Hi lejack02,
I thought you didn't wanted to loop through every single folder and also copy all files in one shot hence I suggested you the .bat file approach
. I'm glad you were able to achieve what you were looking for using the approach you mentioned.
Regarding your second question, I can't think as of now of having one start and multiple stages running at the same time. I'll let you know if I come across anything. What happened when you tried with 2 processes? Did it not work....maybe you need to play around to modify the run modes (
http://rpaforum.net/threads/what-is-the-purpose-of-run-modes-in-blue-prism.824/#post-2141).
But I guess running two process if started at the same time may have Process 1 copy the files from the Folder A and at the same time Process 2 attempts to copy the same files from the same folder in which case it won't find anything and would not serve the purpose of faster copying.
Probably adding files to queues with different tag names could help but this won't be 1 process again.
Process A will add the list of files into a queue with different set of tags to each different set of files.
ie; when you loop through the folders and sub folders keep a counter and for the 1st 10 folders send them to the queue with a tag as "ONE", then the next 10 as TWO" and so on.
Process B will be an exact copy of Process A and will do the same thing as above.
But after finishing placing of the file names in the queue, Process A will only filter items with tags as "ONE" in the Get Next item and copy only those files.
Process B after placing items in queue will only filter items with tags as "TWO" and copy those files.
Both Process A and B are to be scheduled to run at the same time, but I believe you would need to set the run modes to Background to allow both processes to run at the same time. You will have to try changing the modes and see its behaviour. (Or instead of queues you can make use of the 2nd bat file approach wherein Process A will read the 1st 20 lines of the Excel file/Collection and copy only those files while Process B will read the 2nd 20 lines and copy only those.)
If these approaches work for 2 processes then you can try the same using multiple number of processes if there are lot many files.
But see if it is worthwhile adding items to queue or having multiple processes, else it may be faster to complete the copying without the use of queues (or by the 1st bat file approach of copying all files at once).