Robocopy - Flatten directory structure

Feb 15, 2012 at 7:07 PM

I am trying to use the Robocopy activity to copy files from a source to destination directory. I would like to flatten the directory structure; i.e. copy files from sub folders in the source to the root folder in the destination. Is there a way to do this with the options parameter in Robocopy? Or would some kind of a loop be the only option.

Dec 12, 2013 at 4:04 PM
I too would like to do this, but I don't believe that RoboCopy can handle it. If anyone knows a way please respond.

RoboCopy documentation with parameters and options is available here.
Coordinator
Feb 9, 2014 at 4:58 PM
Marked as answer by mikeFourie on 2/9/2014 at 9:58 AM