Robocopy – Robust File Copy for Windows is bundled with Windows Server 2008, Windows 7 and Vista. If you can not do something in xcopy, you probably can in robocopy. For example robocopy can:
- resume on network error, specify number of Retries, etc.
- ability to copy NTFS permissions and attributes including timestamps;
- synchronize mode;
- and a lot more.
Example, copy src_folder to dst_folder including sub-folders:
robocopy C:\src_folder C:\dst_folder /E