Questions

Copying many "My Documents" folders

+
0 Votes
Locked

Copying many "My Documents" folders

mgjurach
I have a retired computer which contains profile directories for about 50 of our domain users. Data has been left by some of them in their "My Documents" folders on this machine.

We now use GPO redirection for "My Documents."

I want to extract all of the files in the "My Documents" folders within these 50 or so user profiles, and copy them into the redirected location on our server.

Is there a tool that will recursively scan the C:\Documents and Settings\ tree and copy just the "My Documents" part?

I essentially need to copy all data from:
C:\Documents and Settings\%username%\My Documents\
to:
\\server\profiles\%username%\My Documents

Does robocopy do this with wildcards?