Share this article

Improve this guide

Robocopy Not Copying Files: How to Fix it

Verify you are using the right command!

2 min. read

Updated onAugust 12, 2024

updated onAugust 12, 2024

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

Those who are more versed in command line-based programs know what Robocopy is. For those that don’t, it is a command-line directory and/or file replication command. But for many, Robocopy is not copying files.

Robocopy is noted for capabilities above and beyond the built-in Windows copy and Xcopy commands. It replaced the latter in Windows.

Because of simplicity, an issue with command-line-based tools often arises when users don’t apply them properly. Keep reading to find out how to use Robocopy in Windows!

What can I do if Robocopy is not copying files?

What can I do if Robocopy is not copying files?

Interestingly enough, a quick solution when Robocopy is not copying files is actually a workaround. Instead of using Robocopy, it is best to useXcopyinstead:

Thus, instead of this command line:robocopy “K:\Some Folder” “H:\Files\1” /e /w:0 /r:2 /MIR

The user should instead use this one while replacing the drive and folder path:xcopy “K:\Some Folder” “H:\Files\1” /c /s /e /ycopybug

How do I copy files with Robocopy?

How do I copy files with Robocopy?

You must use the right command when using Robocopy. Incorrectly specifying the folder path or the drive can lead to issues. For instance, here’s a command that a user ran:robocopy D:\ W:\Backup /e /mir /np /tee /log+:backup_log.txt

When instead, it should be (Folder_1is the name of the folder onD:that requires backing up):robocopy D:\Folder_1 W:\Backup /e /mir /np /tee /log+:backup_log.txt

For those that have more folders that need backing up, then you need to specify each folder, for example:robocopy D:\Folder_1 W:\Backup /e /mir /np /tee /log+:backup_log.txtrobocopy D:\Folder_2 W:\Backup /e /mir /np /tee /log+:backup_log.txt

Using the correct command lines, and the right program for any given task, you should be able to fix things when Robocopy is not copying files.

Before you leave, do check some quick tips tospeed up file transfer in Windows.

If the problem is still there, you might want to use other commands from ourcopy vs xcopy vs robocopyarticle.

If you’re aware of another way to solve this problem, share it in the comments section below so that other users can try it.

More about the topics:bugs,windows 10

Teodor Nechita

Eager to help those in need, Teodor writes articles daily on subjects regarding Windows, Xbox, and all things tech-related.

When not working, you may usually find him either at the gym or taking a stroll in the park, trying to find inspiration for the next articles he may write.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Teodor Nechita