Robocopy, first steps on using it

…this post was published on 2012 April 7.
1. A first solution to copy from source to destination, but not the best one, is to use for example Windows Explorer. The solution is for beginner, very easy, but also without many options.
This is useful to copy few files or folders, using LAN connection without possibilities of  disconnection – in case of disconnection, you should re-start the entire process!
2 Another solution is to use DOS shell
A such command looks like:COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
[+ source [/A | /B] [+ …]] [destination [/A | /B]]source       Specifies the file or files to be copied.
/A           Indicates an ASCII text file.
/B           Indicates a binary file.
/D           Allow the destination file to be created decrypted
destination  Specifies the directory and/or filename for the new file(s).
/V           Verifies that new files are written correctly.
/N           Uses short filename, if available, when copying a file with a
non-8dot3 name.

/Y           Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y          Causes prompting to confirm you want to overwrite an
existing destination file.
/Z           Copies networked files in restartable mode.
The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line.  Default is
to prompt on overwrites unless COPY command is being executed from
within a batch script.

3. This solution is to use robocopy,
– for XP or Windows 2003 users, they should download Resounce Kit Tools,
– For Vista, Windows 7 or Windows 2008 server users, robocopy it is installed with the OS
More informations regarding this tool can be found at following web addresses:

For my needs, I use the following syntax to backup my files
robocopy “SOURCE” “DESTINATION” *.* /S /E /MIR /R:1 /W:1 /NP /X /V /log:copy_log_file.txt​

This entry was posted in Files. Bookmark the permalink.