I have a shared folder which contains user's home folder(around 500), i need to move home folder to another server for only 50 users
i have the home folders list (which need to be moved) in a file
using robo copy i need to copy these list of folder into the new server
any one help me with a script for this
Note : i don't want to copy all the folders from source to destination i want to copy only the folders which i mentioned in a text file
change destinationpath to new server location
Try the following in a batch file
For /F "usebackq" %%A in (list.txt) do (robocopy %%A destinationpath)