Skip to main content

Posts

Showing posts with the label robocopy

MS-DOS and Windows command line robocopy command

Robocopy is a robust file copy command for the Windows command line. It allows users to copy files, directories, and even drives from one location to another.  Robocopy is an external command that is available for the following Microsoft operating systems as robocopy.exe. Robocopy syntax ROBOCOPY source destination [file [file]...] [options] source Source  directory  (drive:\path or \\server\share\path). destination Destination directory (drive:\path or \\server\share\path). file File(s) to copy (names/wildcards: default is "*.*"). Copy options /S Copy  subdirectories , but not the empty ones. /E Copy subdirectories, including the empty ones. /LEV:n Only copy the top n levels of the source directory tree. /Z Copy files in restartable mode. /B Copy files in backup mode. /ZB Use restartable mode. If access denied, use backup mode. /EFSRAW Copy all  encrypted  files in EFS RAW mode. /COPY:copyflag[s]...