tsaico
asked on
robocopy experts
I have a terminal server that has an application that we want to export on a regular basis. A robocopy will work find on it, but the source is by default every user's document folder. I know there is a exclusion, but I do not want to write the source custom for every user that has a profile on the server (about 40 of them), and I also only need two specific folders in their Document folder. It would also be handy because as people join the team, I do not want to have to also remember to add to this batch.
the folders in question are found in "c:\documents and settings\%username%\folder 1" and "folder2". I tried exclusions, but it wants the entire path to exclude, which is the same problem as the the inclusive batch, meaning I do not want to type out everyone's user names into this script nor modify it when new people join the team.
Any ideas?
the folders in question are found in "c:\documents and settings\%username%\folder
Any ideas?
Good example: Use robocopy to copy the user profiles
More info:
http://ts.veranoest.net/ts_faq_profiles.htm
More info:
http://ts.veranoest.net/ts_faq_profiles.htm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This is good, while it runs under a particular profile, I was hoping to run it under a scheduled task under my own, this will work. THanks!
Here you can find robocopy commands and some examples. Also some other tools that can be use to copy/migrate folders/files
http://ss64.com/nt/robocopy.html
Jail