Robocopy is noted for capabilities above and beyond the built-in Windows copy and Xcopy commands, but unfortunately, it is still software nonetheless, and users have reported having issues with using it: Because of their simplicity, most of the times an issue with command-line-based tools is usually caused by users not using it accordingly. Further research into the problem revealed that this was the case in our situation as well.

How do I make Robocopy copy all files?

Interestingly enough, the solution to the problem is actually a workaround. Instead of using Robocopy to copy files, it is best to use Xcopy instead: Thus, instead of this command line:

robocopy “K:\Some Folder” “H:\Files\1” /e /w:0 /r:2 /MIR

The user shold instead use this one:

xcopy “K:\Some Folder” “H:\Files\1” /c /s /e /ycopybug

How do I make Robocopy copy files too, not just the folder?

Other users reported having issues with Robocopy as well, the only difference was that in their case, Robocopy wasn’t copying the folders that they wanted: Yet again, the problem here was the fact that the user imputed the wrong command line: The user used this line:

robocopy D:\ W:\Backup /e /mir /np /tee /log+:backup_log.txt

When instead he should have used this one:

robocopy D:\Folder_1 W:\Backup /e /mir /np /tee /log+:backup_log.txt Folder_1 is the name of the folder on D: that requires backing up.

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.txt robocopy D:\Folder_2 W:\Backup /e /mir /np /tee /log+:backup_log.txt

By using the correct command lines, and the right program for any given task, you should be able to use both Robocopy and Xcopy without any more issues. 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, as well.

How to fix the Failure when attempting to copy boot files error Are you sure you want to copy this file without its properties [FIXED] Windows Explorer stops when copying files? Fix it like a pro

SPONSORED Name * Email * Commenting as . Not you? Save information for future comments
Comment

Δ