How to use Robocopy to copy files on Windows 11

Large file copies have always been a problem on a Windows 11 computer. Fortunately, I am now using another guaranteed version feature called Robocopy for many file transfer tasks. Here’s how to use a strong copy tool on your computer.

What is Robocopy?

Robocopy is a Windows 11 compact tool that allows you to copy files from one place to another. It is a command line tool, which means that you are issuing orders from tools like command or PowerShell to transfer your files.

ROBOCOPY provides more advantages than default versions. Using this tool, you can resume broken transport operations, use multi -yarns, and even scheduling copying tasks.

How to use Robocopy to copy files

To use Robocopy, you can use a command or PowerShell. I will show you how to use the previous.

Access to Windows Search (Click on Windows+S), type CommandRelease the tool. In the CMD window, you will use the next sentence to copy the files using Robocopy. Here, you will replace the source and destination variables with the source and the destination, respectively.

robocopy “Source” “Destination”

For example, if you want to copy all files from D: Documents to E: \ Backups, you will use the following command:

robocopy “D:\Documents” “E:\Backups”

This is the primary way to copy files using Robocopy.

You can use many parameters (options) with Robocopy

While copying files using Robocopy, you can use different parameters to change how the tool works. Here are some common parameters that you can use in your file copy tasks:

  • /ECopy all sub -folders, even empty folders
  • /z: The restart mode allows
  • /MtEnabling multi -thread copies (transferring faster files)
  • /Mir: It reflects the source guide, which means that it deletes the files in the destination folder that is not in the source guide
  • /XDExcludes the specified folders
  • /xf: Excludes the specific files

Interesting examples to transfer files with Robocopy

You can use Robocopy in different ways to copy files from one place to another on a Windows 11 computer. For me, I find that the following is really good examples on how to use this tool on your computer.

When I want to make a backup copy of my documents, including empty sub -signs, I use the following thing:

robocopy “D:\Documents” “E:\Backup\Documents” /E
Robocopy order to copy files and even empty sub -folders written in the command waist.

When I want to copy the pictures from one folder to another and remove all the images in the destination folder not in the source folder, I run the next thing. This ensures that the destination folder only contains the content of my source folder.

Robocopy will delete the files in the destination folder not available in the source folder. Go ahead with caution.

robocopy “D:\Photos” “F:\Photos” /MIR

Sometimes, I do not want to include all folders from the source guide on the copying mission. I specify the folder to be excluded as follows:

robocopy “D:\Work” “E:\Backup\Work” /E /XD “D:\Work\Temp”

Make copies of files easier with payment files

There are files for the files that I run by often, open the command waist and write these orders every time it is a problem. I have already created multiple payments files that operate the pre -determined Robocopy orders with a double click.

If you want to do the same, run Windows Search (Click on Windows+S), write NotemanOpen the application. In a new document, type or paste your Robocopy command. Then, from the Notepad menu bar, select File> Save AS.

On the saved window, choose the folder to save your payment file (select the desktop for easy access). Click the “Keep the District” menu and choose “All files”. Select the “File Name” field and write a name for your file. Ensure that the name ends with .bat so that it is a payment file. Then, click “Save”.

Various options highlighted on NotePad's "Save as" window.

From now on, whenever you want to run your Robocopy command, just a double -click on the payment file you created.

Standing the tasks of copying Robocopy with payment files and tasks scheduling

I run a specific Robocopy order to support some files in a specific schedule. I do this by scheduling my Robocopy payments with tasks.

If you want to do this, first, create the payment file that contains the matter you want to run in a table. Then open Windows (Click Windows+S), type Schedule of tasksAnd launch the utility. On the right part, click “Create a task”.

On the general tab, select the “name” field and write a name for your mission. Access to the “playground” tab and click “New”. On the open window, choose Matthew and how often do you want to run your Robocopy order. Then, click “OK”.

Different schedule options that are highlighted on tasks schedule "The new trigger" window.

Access to the “Actions” tab and click “New.” Select the “Browse” button and choose your payment file. Then, click “OK” and select “OK” again.

"browse" and "Yes" The most prominent tasks scheduling "New work" window.

The mission will now run your payment file on the date and time, and copy your files automatically.


Thus I use this powerful tool to copy files on my computer. No more struggle with the default version feature in Windows 11!

Leave a Comment