By Delia / Last update September 11, 2020

Some of you may copy files using command prompt. XCopy is one of the command-line utility which offers more functionality. Sometimes, you may find that XCopy does not copy all files and folders like the case below.

The case: XCopy does not copy all files

“I am trying to copy files from an old hard drive to an external drive. And I use XCopy to do the copying, but I notice the source and destination directories don't match up after the copying is completed. Do you know how to solve that XCopy does not copy all files? Thanks in advance for any kind reply!”.

Possible reasons and fixes to XCopy does not copy all files

If you meet the situation that XCopy is not copying all files. You can refer to the most common reasons below and try to fix it in time.

1. Make sure your command line is correct

A letter or symbol error can cause command-line error, so you should make sure your command-line is correct at first. See here for the full use of the command:

xcopy "" ""

Make sure to put quotes (" ") around the source and destinations if they have spaces in the path. So it should be:

"c:\Program Files\whatever"

2. Lacking permissions to read the contents of the files

If you are not using Xcopy with administrator privileges, you may lack permission to read the contents of some files. Therefore, XCopy will fail to copy the files for lacking permission to read the data of a file. If you meet this problem, you can try the following two methods.

  • Maybe you can try to open the XML file via Notepad or in Internet Explorer directly from the shared network folder. If you could open it successfully, save it as TXT files. Then, try to copy it by Xcopy again.

  • When you using XCopy, using administrator privileges to open files.

Free alternative to XCopy-AOMEI Backupper

If you want to copy a large number of files and can’t use the command-line smoothly. A reliable and professional third-party software like AOMEI Backupper Standard is a better alternative for you.

This software is a professional file backup software for Windows Vista/XP/7/8/10. With its clear interface and user-friendly design, you can use it to copy files fastly and easily. And there is no problem during the process, so you don’t need to worry about it. With this software, you can back up a large number of files to different places with ease. For instance, you can back up files to external hard drive, USB flash drive, SD card, CD/DVD disc, NAS, network share, Cloud drive, and so on.

What’s more, you can set schedule backup like Daily/Weekly/Monthly full backup in this software. Incremental backup and differential backup are also supported. With incremental and differential backup feature, you can save both time and disk space, because it only backs up files that have been added or modified.

How to copy files or folders with AOMEI Backupper?

Now, download AOMEI Backupper, install and launch it. Then, follow the detailed steps below to copy files or folders with AOMEI Backupper.

Step 1. Click Backup and File Backup subsequently.

File Backup

Step 2. Click Add File or Add Folder to choose the files or folders you want to backup and then click OK.

Add Folders Files

Step 3. Click drop-down list to select the destination path you want to copy files to. Cloud drive, shared folder, and NAS are available.

Select Destination

Step 4. (Optional) Click Schedule to set automatic backup Daily/Weekly/Monthly, or select incremental and differential backup.

Schedule Settings General

Step 5. If there are no other questions, click Start Backup to execute the operation.

Start Backup

Tips: If your destination path is USB, you can choose “USB plug in” feature in “Schedule”. After the first backup is completed, you could remove the USB. Then, every time you reinsert USB, the program will run the task automatically. This feature is only available in the paid version. You can upgrade to AOMEI Backupper Professional.


If you meet the trouble “XCopy does not copy all files”, of course you can try to solve it by checking all the possible reasons. But sometimes, you can't find an accurate solution. Thus, you’d better copy files with AOMEI Backupper. It can help you back up a large number of files easily without any problem. And schedule backup also can help you transfer data regularly so as to save your time and protect your important data in time.