What is Robocopy?

Robocopy is “Robust File Copy for Windows”. Robocopy is a command-line file or directory replication command and Robocopy functionally replaces Xcopy, with more options. . It has been available as part of the Windows Resource Kit starting with Windows NT 4.0, and was first introduced as a standard feature in Windows Vista and Windows Server 2008. It is used when we need to copy huge data (Many files or Huge Files) from source to destination.

What is Robocopy?Robocopy allows you to setup simple or advanced backup strategies. It provides such features as multi-threaded copying, mirroring or synchronization mode, automatic retry, and the ability to resume the copying process. If you are comfortable with using command line tools, you can run Robocopy directly on the command line using the command syntax and options. You can also download the command line reference and usage notes for Robocopy as a PDF file.

Syntax for Robocopy:


•  /S: Copy Subfolders.
•  /V : Produce Verbose output log, showing skipped files
•  /Z: Copy files in restartable mode (survive network glitch).
•  /XO: Exclude Older – if destination file exists and is the same date or newer than the source – don’t bother to overwrite it.
•  /E: Copy Subfolders, including Empty Subfolders.
•  /MT[:n] : Multithreaded copying, n = no. of threads to use Value should be between (1-128)
•  /LOG+: “log file path”: Output status to LOG file (Check Progress of the Copy Task.)

In case if you want to use ROBOCOPY to copy only those file which are “N” number of Days old then you can add the following attribute :
/MAXAGE:N : Maximum file AGE – exclude files older than “N” days.

Above mentioned Attributes are tested successfully. There are many more attributes for Robocopy Command.

<<Click here to see all posts>>

If you found any of the information on this page helpful in anyway then please consider sharing this content with your favorite social network or by leaving your thoughts in the comment section. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

Prove You Are Human Time limit is exhausted. Please reload CAPTCHA.