ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.1 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://www.partitionwizard.com/clone-disk/cmd-copy-file.html |
| Last Crawled | 2026-04-09 23:06:09 (2 days ago) |
| First Indexed | 2022-07-23 03:14:34 (3 years ago) |
| HTTP Status Code | 200 |
| Meta Title | CMD Copy File: How to Copy Files in Command Prompt Windows 10/11 - MiniTool Partition Wizard |
| Meta Description | How to copy and paste files in Command Prompt? If you are also confused about the CMD copy file operation, this post is what you are looking for. |
| Meta Canonical | null |
| Boilerpipe Text | Home
Clone Disk
CMD Copy File: How to Copy Files in Command Prompt Windows 10/11
By
Ariel
|
Follow
|
Last Updated
November 20, 2023
What command line can be used to copy files? How to copy files using CMD in Windows 10/11? A lot of users are confused about these questions. Now, this post of
MiniTool
explains the
CMD copy file
operation in detail.
Quick Navigation :
What Command Line Can Be Used to Copy Files
How to Copy Files Using CMD in Windows 10/11
Bonus Tip: Best Alternative to Copy Large Files Quickly
When copying a large of files from one drive to another location, most people may choose File Explorer to copy files. Sometimes, however, various issues and errors may occur when copying large files such as “
calculating the time required to copy the files
”, “
Windows delay write failure
”, and so on. Under these situations, you may consider
PowerShell
and CMD copy files.
Compared with the traditional file copying ways, the copy file command line can help you copy and paste files with less time. Moreover, the Windows copy command enables you to leave the copying process alone automatically when unattended.
What Command Line Can Be Used to Copy Files
What command can be used to copy files? The answer depends on the way you want to copy file CMD. If you just want to copy a specific file in Command Prompt, then you can use the
Copy
command. If you want to copy the entire directory and its content, then the
Xcopy
command is a good choice.
Of course, different copy file command lines bring different results. For example, if you want to copy the encrypted files to the destination as decrypted files, then you need to add the “
/d
” to the end of the Windows copy command line. To know more about copy file CMD lines, you can refer to
this article
.
How to Copy Files Using CMD in Windows 10/11
How to move files using CMD? Here we summarize the most two common ways to copy file CMD. The first is to copy a specific file using the copy command, while the other is to copy the directory using the xcopy command. Let’s start trying.
Before the CMD Copy File
Before you start running the Windows copy command line, it’s necessary to know the directory/path and name of the file you want to copy. Also, you should write download the destination folder you want to copy to.
Step 1.
Press the
Win + E
keys to open
File Explorer
.
Step 2.
Find the location and name of the file, and note them down. For example, the file name is “pdr-ol-log.txt” and the location is “C:UsersAdministratorDownloads”.
Step 3.
Note down the destination directory that you want to copy to.
# 1. Copy a Specific File via the Copy Command
Step 1.
Type
cmd
in the
Search
box, and then right-click the
Command Prompt
window and select
Run as administrator
. Then click on
Yes
in the
UAC
window.
Step 2.
In the elevated Command Prompt window, type the following command and hit
Enter
to copy the file “pdr-ol-log.txt” on the C drive to the D drive root. If it shows the “
1 file(s) copied
” message, it indicated that the file has been copied to the destination folder successfully.
copy C:UsersAdministratorDownloadspdr-ol-log.txt D:
Step 3.
If you want to copy certain file extensions from one drive to another, you can run the “
copy *.txt E:
” command. You can replace the “
.txt
” with your file extensions such as “.
png
”,
“.xls
”, etc.
# 2. Copy the Whole Directory via the XCopy Command
If you want to copy all files under a directory to another directory quickly, you can use the XCopy command. Here’s how to do that:
Step 1.
Open the elevated Command Prompt window as we explained above.
Step 2.
Type the following command and hit
Enter
. Here you can replace the
C:UsersAdministratorDownloads
section with the directory you want to copy and replace the
D:Ariel
with your actual destination.
xcopy C:UsersAdministratorDownloads D:Ariel
Now, all contexts under the directory should be copied into the destination path successfully.
Bonus Tip: Best Alternative to Copy Large Files Quickly
Although the CMD copy file is time-saving and convenient, it is relatively strange for many non-professionals to operate. If you have a large chunk of files that need to copy into an external drive, you can consider copying the partition to another drive. Compared with the command line copy method, it’s more efficient and simpler.
Here MiniTool Partition Wizard can help you
copy the whole partition
to another drive quickly with a few clicks. Besides, it can be used to copy disk,
migrate OS to SSD/HD without reinstalling
, convert MBR to GPT, etc.
MiniTool Partition Wizard Free
Click to Download
100%
Clean & Safe
About The Author
Position:
Columnist
Ariel has been working as a highly professional computer-relevant technology editor at MiniTool for many years. She has a strong passion for researching all knowledge related to the computer's disk, partition, and Windows OS. Up till now, she has finished thousands of articles covering a broad range of topics and helped lots of users fix various problems. She focuses on the fields of disk management, OS backup, and PDF editing and provides her readers with insightful and informative content.
We use cookies to improve your experience. By continuing, you acknowledge that you have read and understand our
Cookie Policy
.
Accept |
| Markdown | Don't Lose Your Data! Learn How to Clone and Copy Your Disk Safely
[See How](https://www.partitionwizard.com/clone-disk/clone-a-hard-drive.html?mt_from=pw-top-recommend)
[](https://www.minitool.com/)[Partition Wizard](https://www.partitionwizard.com/)
- [MiniTool Products]()
- Disk & Data Manager
- [Partition Wizard](https://www.partitionwizard.com/)
- [Power Data Recovery](https://www.minitool.com/data-recovery-software/?utm_source=partitionwizard.com&utm_medium=redirection&utm_campaign=top-menu)
- [ShadowMaker](https://www.minitool.com/backup/?utm_source=partitionwizard.com&utm_medium=redirection&utm_campaign=top-menu)
- Media Toolkit
- [MovieMaker](https://moviemaker.minitool.com/?utm_source=partitionwizard.com&utm_medium=redirection&utm_campaign=top-menu)
- [uTube Downloader](https://youtubedownload.minitool.com/?utm_source=partitionwizard.com&utm_medium=redirection&utm_campaign=top-menu)
- [Video Converter](https://videoconvert.minitool.com/?utm_source=partitionwizard.com&utm_medium=redirection&utm_campaign=top-menu)
- [Support](https://www.partitionwizard.com/support.html)
- [About](https://www.minitool.com/about-us.html)
- [Store](https://www.partitionwizard.com/buy.html)
- [For Home]()
- [Partition Wizard Free](https://www.partitionwizard.com/free-partition-manager.html)
- [Partition Wizard Pro](https://www.partitionwizard.com/partition-magic-free.html)
- [Partition Wizard Bootable](https://www.partitionwizard.com/partition-wizard-bootable-cd.html)
- [For Business](https://www.partitionwizard.com/partition-manager-server.html)
- [Feature]()
- [What's New](https://www.partitionwizard.com/upgrade-history.html)
- [Comparison](https://www.partitionwizard.com/comparison.html)
- [Resource]()
- [User Manual](https://www.partitionwizard.com/help/)
- [Resize Partition](https://www.partitionwizard.com/resizepartition/)
- [Clone Disk](https://www.partitionwizard.com/clone-disk/)
- [Disk Recovery](https://www.partitionwizard.com/disk-recovery/)
- [Download Partition Wizard](https://www.partitionwizard.com/download.html)
Free Edition: [Download](https://cdn2.minitool.com/?p=pw&e=pw-free)
Pro Edition: [Try Demo](https://cdn2.minitool.com/?p=pw&e=pw-demo)
Server Edition: [Try Demo](https://cdn2.minitool.com/?p=pw&e=pw-demo)
[Download Partition Wizard](https://cdn2.minitool.com/?p=pw&e=pw-demo)
- [Home](https://www.partitionwizard.com/)
- [Clone Disk](https://www.partitionwizard.com/clone-disk/)
- CMD Copy File: How to Copy Files in Command Prompt Windows 10/11
# CMD Copy File: How to Copy Files in Command Prompt Windows 10/11
By [Ariel](https://www.partitionwizard.com/author/ariel16/) \| Follow \| Last Updated
November 20, 2023
[English](https://www.partitionwizard.com/clone-disk/cmd-copy-file.html)
- [日本語](https://www.partitionwizard.jp/clone-disk/cmd-copy-file.html)
- [Deutsch](https://de.minitool.com/datentraegerverwaltung/cmd-datei-kopieren.html)
What command line can be used to copy files? How to copy files using CMD in Windows 10/11? A lot of users are confused about these questions. Now, this post of [MiniTool](https://www.partitionwizard.com/) explains the **CMD copy file** operation in detail.
Quick Navigation :
- [What Command Line Can Be Used to Copy Files](https://www.partitionwizard.com/clone-disk/cmd-copy-file.html#what-command-line-can-be-used-to-copy-files-10416)
- [How to Copy Files Using CMD in Windows 10/11](https://www.partitionwizard.com/clone-disk/cmd-copy-file.html#how-to-copy-files-using-cmd-in-windows-10%2F11-10416)
- [Bonus Tip: Best Alternative to Copy Large Files Quickly](https://www.partitionwizard.com/clone-disk/cmd-copy-file.html#bonus-tip%3A-best-alternative-to-copy-large-files-quickly-10416)
When copying a large of files from one drive to another location, most people may choose File Explorer to copy files. Sometimes, however, various issues and errors may occur when copying large files such as “[calculating the time required to copy the files](https://www.partitionwizard.com/partitionmanager/calculating-the-time-required-to-copy-the-files.html)”, “[Windows delay write failure](https://www.partitionwizard.com/disk-recovery/windows-delay-write-failure.html)”, and so on. Under these situations, you may consider [PowerShell](https://www.partitionwizard.com/partitionmanager/powershell-copy-file.html) and CMD copy files.
Compared with the traditional file copying ways, the copy file command line can help you copy and paste files with less time. Moreover, the Windows copy command enables you to leave the copying process alone automatically when unattended.
[WiFi Password CMD: How to Find WiFi Password in Command Prompt How to show WiFi password Windows 10 CMD? If you are still trying to figure it out, this post provides a complete guide about the WiFi password CMD. Read More](https://www.partitionwizard.com/partitionmanager/wifi-password-cmd.html)
## What Command Line Can Be Used to Copy Files
What command can be used to copy files? The answer depends on the way you want to copy file CMD. If you just want to copy a specific file in Command Prompt, then you can use the **Copy** command. If you want to copy the entire directory and its content, then the **Xcopy** command is a good choice.
Of course, different copy file command lines bring different results. For example, if you want to copy the encrypted files to the destination as decrypted files, then you need to add the “**/d**” to the end of the Windows copy command line. To know more about copy file CMD lines, you can refer to [this article](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/copy).
## How to Copy Files Using CMD in Windows 10/11
How to move files using CMD? Here we summarize the most two common ways to copy file CMD. The first is to copy a specific file using the copy command, while the other is to copy the directory using the xcopy command. Let’s start trying.
### Before the CMD Copy File
Before you start running the Windows copy command line, it’s necessary to know the directory/path and name of the file you want to copy. Also, you should write download the destination folder you want to copy to.
**Step 1.** Press the **Win + E** keys to open **File Explorer**.
**Step 2.** Find the location and name of the file, and note them down. For example, the file name is “pdr-ol-log.txt” and the location is “C:UsersAdministratorDownloads”.
**Step 3.** Note down the destination directory that you want to copy to.
### \# 1. Copy a Specific File via the Copy Command
**Step 1.** Type **cmd** in the **Search** box, and then right-click the **Command Prompt** window and select **Run as administrator**. Then click on **Yes** in the **UAC** window.
**Step 2.** In the elevated Command Prompt window, type the following command and hit **Enter** to copy the file “pdr-ol-log.txt” on the C drive to the D drive root. If it shows the “**1 file(s) copied**” message, it indicated that the file has been copied to the destination folder successfully.
**copy C:UsersAdministratorDownloadspdr-ol-log.txt D:**

**Step 3.** If you want to copy certain file extensions from one drive to another, you can run the “**copy \*.txt E:**” command. You can replace the “**.txt**” with your file extensions such as “.**png**”, **“.xls**”, etc.
[CMD Kill Process: How to Kill Process in Command Prompt Do you know how to kill process CMD/PowerShell on Windows 10/11? Now, you come to the right place. This post provides a full guide on the CMD kill process. Read More](https://www.partitionwizard.com/partitionmanager/cmd-kill-process.html)
### \# 2. Copy the Whole Directory via the XCopy Command
If you want to copy all files under a directory to another directory quickly, you can use the XCopy command. Here’s how to do that:
**Step 1.** Open the elevated Command Prompt window as we explained above.
**Step 2.** Type the following command and hit **Enter**. Here you can replace the **C:UsersAdministratorDownloads** section with the directory you want to copy and replace the **D:Ariel** with your actual destination.
**xcopy C:UsersAdministratorDownloads D:Ariel**

Now, all contexts under the directory should be copied into the destination path successfully.
## Bonus Tip: Best Alternative to Copy Large Files Quickly
Although the CMD copy file is time-saving and convenient, it is relatively strange for many non-professionals to operate. If you have a large chunk of files that need to copy into an external drive, you can consider copying the partition to another drive. Compared with the command line copy method, it’s more efficient and simpler.
Here MiniTool Partition Wizard can help you [copy the whole partition](https://www.partitionwizard.com/help/copy-partition.html) to another drive quickly with a few clicks. Besides, it can be used to copy disk, [migrate OS to SSD/HD without reinstalling](https://www.partitionwizard.com/clone-disk/migrate-windows-10.html), convert MBR to GPT, etc.
[MiniTool Partition Wizard FreeClick to Download100%Clean & Safe](https://cdn2.minitool.com/?p=pw&e=pw-free)

- facebook
- twitter
- linkedin
- reddit
## About The Author
[Ariel](https://www.partitionwizard.com/author/ariel16/) [Follow Us](https://twitter.com/mu_ariel53542)
Position: Columnist
Ariel has been working as a highly professional computer-relevant technology editor at MiniTool for many years. She has a strong passion for researching all knowledge related to the computer's disk, partition, and Windows OS. Up till now, she has finished thousands of articles covering a broad range of topics and helped lots of users fix various problems. She focuses on the fields of disk management, OS backup, and PDF editing and provides her readers with insightful and informative content.
## User Comments :
We use cookies to improve your experience. By continuing, you acknowledge that you have read and understand our [Cookie Policy](https://www.partitionwizard.com/privacy.html#cookie). Accept
- Products
- [MiniTool Partition Wizard Free Edition](https://www.partitionwizard.com/free-partition-manager.html)
- [MiniTool Partition Wizard Pro Edition](https://www.partitionwizard.com/partition-magic-free.html)
- [MiniTool Partition Wizard Server Edition](https://www.partitionwizard.com/partition-manager-server.html)
- [MiniTool Partition Wizard Bootable](https://www.partitionwizard.com/partition-wizard-bootable-cd.html)
- [Compare Editions](https://www.partitionwizard.com/comparison.html)
- Resource
- [Resize Partition](https://www.partitionwizard.com/resizepartition/)
- [Partition Manager](https://www.partitionwizard.com/partitionmanager/)
- [Partition Magic](https://www.partitionwizard.com/partitionmagic/)
- [Disk Recovery](https://www.partitionwizard.com/disk-recovery/)
- [Clone Disk](https://www.partitionwizard.com/clone-disk/)
- Support
- [Software FAQ](https://www.partitionwizard.com/faq.html)
- [Online Help](https://www.partitionwizard.com/help/)
- [Reviews](https://www.partitionwizard.com/reviews.html)
- Follow Us
- [Language]()
- [English](https://www.partitionwizard.com/)
- [Deutsch](https://de.minitool.com/partition-manager/)
- [Français](https://www.minitool.com/fr/gestionnaire-partition/)
- [日本語](https://www.partitionwizard.jp/)
[Terms & Conditions](https://www.partitionwizard.com/terms_conditions.html) \| [Privacy](https://www.partitionwizard.com/privacy.html)
North America, Canada, Unit 170 - 422, Richards Street, Vancouver, British Columbia, V6B 2Z4
Asia, Hong Kong, Suite 820,8/F., Ocean Centre, Harbour City, 5 Canton Road, Tsim Sha Tsui, Kowloon
Copyright © 2026 MiniTool® Software Limited, All Rights Reserved.
[](https://systembooster.minitool.com/thank-you-download.html?from=mt-webmid-pop&mt_lang=en&r=https://www.partitionwizard.com/clone-disk/cmd-copy-file.html)
[](https://systembooster.minitool.com/thank-you-download.html?from=mt-webright-pop&mt_lang=en&r=https://www.partitionwizard.com/clone-disk/cmd-copy-file.html) |
| Readable Markdown | - [Home](https://www.partitionwizard.com/)
- [Clone Disk](https://www.partitionwizard.com/clone-disk/)
- CMD Copy File: How to Copy Files in Command Prompt Windows 10/11
By [Ariel](https://www.partitionwizard.com/author/ariel16/) \| Follow \| Last Updated November 20, 2023
What command line can be used to copy files? How to copy files using CMD in Windows 10/11? A lot of users are confused about these questions. Now, this post of [MiniTool](https://www.partitionwizard.com/) explains the **CMD copy file** operation in detail.
Quick Navigation :
- [What Command Line Can Be Used to Copy Files](https://www.partitionwizard.com/clone-disk/cmd-copy-file.html#what-command-line-can-be-used-to-copy-files-10416)
- [How to Copy Files Using CMD in Windows 10/11](https://www.partitionwizard.com/clone-disk/cmd-copy-file.html#how-to-copy-files-using-cmd-in-windows-10%2F11-10416)
- [Bonus Tip: Best Alternative to Copy Large Files Quickly](https://www.partitionwizard.com/clone-disk/cmd-copy-file.html#bonus-tip%3A-best-alternative-to-copy-large-files-quickly-10416)
When copying a large of files from one drive to another location, most people may choose File Explorer to copy files. Sometimes, however, various issues and errors may occur when copying large files such as “[calculating the time required to copy the files](https://www.partitionwizard.com/partitionmanager/calculating-the-time-required-to-copy-the-files.html)”, “[Windows delay write failure](https://www.partitionwizard.com/disk-recovery/windows-delay-write-failure.html)”, and so on. Under these situations, you may consider [PowerShell](https://www.partitionwizard.com/partitionmanager/powershell-copy-file.html) and CMD copy files.
Compared with the traditional file copying ways, the copy file command line can help you copy and paste files with less time. Moreover, the Windows copy command enables you to leave the copying process alone automatically when unattended.
## What Command Line Can Be Used to Copy Files
What command can be used to copy files? The answer depends on the way you want to copy file CMD. If you just want to copy a specific file in Command Prompt, then you can use the **Copy** command. If you want to copy the entire directory and its content, then the **Xcopy** command is a good choice.
Of course, different copy file command lines bring different results. For example, if you want to copy the encrypted files to the destination as decrypted files, then you need to add the “**/d**” to the end of the Windows copy command line. To know more about copy file CMD lines, you can refer to [this article](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/copy).
## How to Copy Files Using CMD in Windows 10/11
How to move files using CMD? Here we summarize the most two common ways to copy file CMD. The first is to copy a specific file using the copy command, while the other is to copy the directory using the xcopy command. Let’s start trying.
### Before the CMD Copy File
Before you start running the Windows copy command line, it’s necessary to know the directory/path and name of the file you want to copy. Also, you should write download the destination folder you want to copy to.
**Step 1.** Press the **Win + E** keys to open **File Explorer**.
**Step 2.** Find the location and name of the file, and note them down. For example, the file name is “pdr-ol-log.txt” and the location is “C:UsersAdministratorDownloads”.
**Step 3.** Note down the destination directory that you want to copy to.
### \# 1. Copy a Specific File via the Copy Command
**Step 1.** Type **cmd** in the **Search** box, and then right-click the **Command Prompt** window and select **Run as administrator**. Then click on **Yes** in the **UAC** window.
**Step 2.** In the elevated Command Prompt window, type the following command and hit **Enter** to copy the file “pdr-ol-log.txt” on the C drive to the D drive root. If it shows the “**1 file(s) copied**” message, it indicated that the file has been copied to the destination folder successfully.
**copy C:UsersAdministratorDownloadspdr-ol-log.txt D:**

**Step 3.** If you want to copy certain file extensions from one drive to another, you can run the “**copy \*.txt E:**” command. You can replace the “**.txt**” with your file extensions such as “.**png**”, **“.xls**”, etc.
### \# 2. Copy the Whole Directory via the XCopy Command
If you want to copy all files under a directory to another directory quickly, you can use the XCopy command. Here’s how to do that:
**Step 1.** Open the elevated Command Prompt window as we explained above.
**Step 2.** Type the following command and hit **Enter**. Here you can replace the **C:UsersAdministratorDownloads** section with the directory you want to copy and replace the **D:Ariel** with your actual destination.
**xcopy C:UsersAdministratorDownloads D:Ariel**

Now, all contexts under the directory should be copied into the destination path successfully.
## Bonus Tip: Best Alternative to Copy Large Files Quickly
Although the CMD copy file is time-saving and convenient, it is relatively strange for many non-professionals to operate. If you have a large chunk of files that need to copy into an external drive, you can consider copying the partition to another drive. Compared with the command line copy method, it’s more efficient and simpler.
Here MiniTool Partition Wizard can help you [copy the whole partition](https://www.partitionwizard.com/help/copy-partition.html) to another drive quickly with a few clicks. Besides, it can be used to copy disk, [migrate OS to SSD/HD without reinstalling](https://www.partitionwizard.com/clone-disk/migrate-windows-10.html), convert MBR to GPT, etc.
[MiniTool Partition Wizard FreeClick to Download100%Clean & Safe](https://cdn2.minitool.com/?p=pw&e=pw-free)

## About The Author
Position: Columnist
Ariel has been working as a highly professional computer-relevant technology editor at MiniTool for many years. She has a strong passion for researching all knowledge related to the computer's disk, partition, and Windows OS. Up till now, she has finished thousands of articles covering a broad range of topics and helped lots of users fix various problems. She focuses on the fields of disk management, OS backup, and PDF editing and provides her readers with insightful and informative content.
We use cookies to improve your experience. By continuing, you acknowledge that you have read and understand our [Cookie Policy](https://www.partitionwizard.com/privacy.html#cookie). Accept |
| Shard | 120 (laksa) |
| Root Hash | 515126038848640720 |
| Unparsed URL | com,partitionwizard!www,/clone-disk/cmd-copy-file.html s443 |