Written by Barry Dysert (last updated September 25, 2017)
Robocopy (a made-up program name meaning Robust File Copy) is a command-line utility that comes with Windows. When you're doing a lot of file management, you need something more powerful than what is provided through Windows Explorer or File Explorer. Robocopy is one alternative. It does require some typing instead of clicking, but its increased set of functionality more than offsets any inconvenience this may cause.
One of the first things you should know is that Robocopy is designed to work with directories more so than with individual files (although it can still deal with both). Another thing to be aware of is the multitude of options (or switches) that can be used to augment Robocopy's behavior.
The basic syntax for a Robocopy command is:
Robocopy source destination [file [file]...] [options]
Since it was designed to deal with directories, both the source and destination parameters are specified as "drive:\path" or "\\server\share\path". The file parameters are literal file names, and you can use the "?" and "*" wildcards if needed. The optional options parameter consists of switches that you can specify to augment Robocopy's behavior. For example, if you want Robocopy to execute in restartable mode you would specify the /Z switch.
The power of Robocopy lies in knowing the options and how to use them. See other Tips on Robocopy for some examples of specific actions that are common among Robocopy users. To see what all options are available and what they do, type "Robocopy /?" at a command prompt, and begin to experiment.
This tip (13186) applies to Windows 7, 8, and 10.
CDs and DVDs are good for creating archives of files you want to keep over the long term. They are a great way to back up ...Discover More
Compressed files can make it easier to store a lot of information on a hard drive. However, compressed files aren't that ...Discover More
Windows maintains a set of attributes that describe and control characteristics of your files. Here's how to change the ...Discover More
GS Richcopy 360 boasts several impressive features, most notably a smart drive letter detection that recognizes your thumb drive even if it's assigned a different letter each time.recomended.