Windows command prompt: an example of robocopy

Self-tutoring about copying folders: the tutor mentions robocopy.

robocopy this_dir j:\that_dir /e

As I recall, the above command, from the command prompt, can be used to copy the local directory this_dir to the external location j:\that_dir. The switch /e at the end means to include subdirectories (aka, subfolders) as they are, even if empty.

In my experience, it’s important to mention the destination directory: robocopy doesn’t copy the top level source directory unless you mention it as the destination.

Robocopy lists, at the end, any failures or skips. I’ve used it, in Windows 7, and I’m a fan.


Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply