

The X flag is ignored if either /B or /ZB is used. The default value for the /COPY option is DAT (data, attributes, and time stamps).

If file access is denied, switches to backup mode.Ĭopies using unbuffered I/O (recommended for large files).Ĭopies all encrypted files in EFS RAW mode. This allow copying of files you might otherwise not have access to assuming it's being run under an account with sufficient privileges.Ĭopies files in restartable mode. In restartable mode, should a file copy be interrupted, Robocopy can pick up where it left off rather than recopying the entire file.Ĭopies files in backup mode allowing Robocopy to override file and folder permission settings (ACLs). This option automatically includes empty directories.Ĭopies only the top n levels of the source directory tree.Ĭopies files in restartable mode.

This option automatically excludes empty directories.Ĭopies subdirectories. Specifies the options to use with the robocopy command, including copy, file, retry, logging, and job options.Ĭopies subdirectories. If you don't specify this parameter, *.* is used as the default value. Wildcard characters ( * or ?) are supported. Specifies the file or files to be copied. Specifies the path to the destination directory. Specifies the path to the source directory. If any data is copied from the root of a device, the destination directory will adopt the "hidden" attribute during the copy process.
