Robocopy from list.txt
Solution 1:
Create a file named directories.txt:
C:\dir1
C:\dir2
C:\dir3
C:\dir4\subdir
Then write a Powershell script named RobocopyDirsFromList.ps1:
Foreach ($Directory In Get-Content .\directories.txt)
{
robocopy "$Directory" "h:\UserHome" /E /SEC /Copy:DATSOU /log:c:\logfile.txt
}
Note: I've not tested this, please test first.