Frequently Asked Questions

« Previous
How do I start an elevated command prompt (as administrator) in Windows?
Next »
How does Thunderbird autoconfig work?

windows ubuntu macos xibo network zenworks android storage



75. How do I copy many files in Windows using Robocopy?

See also: How do I really delete a directory and files in Windows?
See also: How do I start an elevated command prompt (as administrator) in Windows?
Robocopy is a built in command line tool in Windows to copy files. when it cannot read a file because of any reason, like the file is locked or unavailable, it can retry.

Mirror a directory into another

This deletes destination files that are not in the original.

robocopy g:\myfiles h:\myarchive /MIR /R:2 /W:1

Copy a directory into another

This just copy the files.

robocopy g:\myfiles h:\myarchive /E /R:2 /W:1



 

This entry robocopy was last modified 2017-12-14

   

This documentation is covered by GNU Free Documentation License.