Robocopy Command

Comments Off

Posted on 15th October 2009 by admin in IT Support

robocopy

Parameter Description
Specifies the path to the source directory.

Specifies the path to the destination directory.

Specifies the file or files to be copied. You can use wild-card characters (* or ? ), if you want. If the

File parameter is not specified, *.* is used as the default value.

Specifies options to be used with the robocopy command.

Copy options

Option Description

/s Copies subdirectories. Note that this option excludes empty directories.

/e Copies subdirectories. Note that this option includes empty directories.

/lev: Copies only the top N levels of the source directory tree.

/z Copies files in Restart mode.

/b Copies files in Backup mode.

/zb Uses Restart mode. If access is denied, this option uses Backup mode.

/efsraw Copies all encrypted files in EFS RAW mode.

/copy: Specifies the file properties to be copied. The following are the valid values

for this option:

D – Data
A – Attributes