User Scenario - "Hey guys, does anyone know how to move files and folders from one drive to another in Windows using the Command Prompt?"

Using the command prompt has a few advantages over regular file copying. It saves you time from manually copying and pasting, and it allows for unattended copying. In other words, after inputting the correct commands, you can step away from your computer and let the task run on its own.

If you're looking for how to copy files using the command prompt, keep reading. This article also mentions other ways to copy files.

Please provide the English content you would like translated, and I will do my best to translate it into Chinese.

Solutions That Work Step-by-Step Troubleshooting
COPY Files via Command Prompt Right-click the Start button, choose 'Command Prompt (Admin)' to open CMD...Full Steps
Other Easier GUI (Graphical User Interface) Ways to Copy Files 1. Use a USB flash drive; 2. Use OneDrive; 3. Use PC data transfer software...Full Steps

How to Copy Files Using the Command Prompt in Steps

You can use the Copy and Xcopy command-line utilities to efficiently copy files on your computer.

1. Transfer specific files using the copy command.

Right-click the Start button and select “Command Prompt (Admin)” to open CMD.

To copy a file, use the copy command in the command line.

Copy C:\myfile.txt to E:\

This command copies myfile.txt from drive C: to drive E:.

Copy all .txt files to drive E:

This command copies all text files in the current directory to drive E: using a wildcard.

Copy the "example.xls" file from the D drive.

This command copies the "example.xls" file from the D: drive to the current directory. We didn't specify a destination; if one isn't provided, the current directory is used by default.

2. Use the Xcopy command to copy all files

Xcopy is a command used to copy files or a set of files from one directory to another. It is conveniently used to copy data between fixed drives.

Step 1. To open the Command Prompt, go to Start and type in cmd. Right-click on Command Prompt in the list, and select “Run as administrator.”

Run cmd as administrator

Now, at the command prompt, type the Xcopy command as shown to copy the folder and its subfolders and contents. To copy the “test” folder and its subfolders from drive C to drive D, type the following Xcopy command:

The Chinese translation of this command is: 使用XCOPY命令,将C盘下的test目录及其所有子目录和文件(包括隐藏文件和系统文件)完整复制到D盘的test目录中。如果目标目录不存在,XCOPY会创建它,并且在复制过程中如果发生错误,它会继续执行而不停止。 In English, the command translates to: Use the XCOPY command to completely copy the test directory along with all its subdirectories and files (including hidden and system files) from the C:\ drive to the D:\test directory. If the target directory does not exist, XCOPY will create it, and if an error occurs during the copying process, it will continue without stopping.

    • /E – Copy all subdirectories, including empty ones.
    • /H – Copy hidden files or files with the system attribute.
    • /C – Continue copying even if errors occur.
    • /I – Assume that the destination is a folder if in doubt.

A CLI is different from a GUI, because it uses only text. Its steep learning curve, high potential for errors, reliance on memorized commands, and inability to solve problems through searching are all drawbacks.

Other, simpler GUI ways to copy files

Here are three easier ways to move files from one drive or computer to another. Take a look.

1. Use a USB flash drive

Depending on their capacity, USB flash drives (also called memory keys or sticks) can hold a few files or a large amount of data.

Step 1: Plug the USB drive into an open USB port on your computer.

< strong > Step 2. Open a File Explorer window, and look for the entry for your flash drive in the left-hand pane.

Step 3: Drag the files you want to copy into the folder on the drive.

Step 4: Once it's done, eject the USB drive and plug it into the USB port of the computer you want to upgrade.

5. Copy them to the new computer by selecting and dragging them in a File Explorer window to a different folder.

Use OneDrive

Cloud drives are another option for transferring files between Windows devices. This can be achieved by sharing files through any Windows app that supports cloud storage services like OneDrive. The downside to this method is storage space, upload times, and potential costs involved. If you need to move smaller files frequently, this option might be suitable.

Step 1: Drag the file into your OneDrive.

Go to OneDrive and log in. Add the file to your OneDrive cloud account by clicking “Add.” The file will be sent to your OneDrive account.

Upload files to OneDrive

Step 2: Get the necessary files.

On the other laptop, open OneDrive, right-click the file, and select “Download.” This will complete the transfer of the file from your laptop or computer to another computer on the network.

Download files from OneDrive

3. Use a PC Data Transfer Software - Todo PCTrans Tool

A tool called Todo PCTrans lets you transfer files, programs, and settings between computers in a user-friendly way, unlimited. It also serves as a data and app backup software that keeps your files safe as long as you back up regularly. It's not just a PC migration software to move files between local disks/drives or two computers. For instance, you can safely transfer programs from C drive to D drive: Transfer Programs from C Drive to D Drive in Windows 10 Safely.

Please provide the English content you want translated, and I'll do my best to translate it into Chinese.

  Buy Now

30-Day Money-Back Guarantee

It requires no great computer skills or the purchase of any additional equipment. A one-time, lifetime license allows for free upgrades for life.

Now, download this PC transfer software to move your files from one computer to another with just a few clicks.

Step 1: Launch Todo PCTrans on both computers. Choose "PC to PC" to proceed.

Transfer files from PC to PC - Step 1 Transfer files from PC to PC - Step 1

Step 2: Make sure you have selected the correct transfer direction.

"Transfer from old" - Move data from your old computer to your current new one.

"Old" - Transfer data from your current old computer to a new one remotely.

Step 3: Enter the password or key of the target computer to connect the two computers over the network. Also, make sure you have selected the correct transfer direction and click "Connect" to proceed.

The verification code is located in the upper-right corner of the main A-B screen on the controlled computer.

Transfer Files from PC to PC - Step 2 Transfer Files from PC to PC - Step 2

Step 4: Next, click on "Files" to select the files you want to transfer. Choose specific files as needed. Additionally, you can click on the "Edit" icon to customize where the transferred data is stored.

Transfer files from PC to PC - Step 1

Step 5: Click on “Transfer” to start transferring files from one computer to the other. The time it takes will depend on the size of your files, so be patient.

Transfer Files from PC to PC - Step 5 Transfer Files from PC to PC - Step 5

Conclusions

There are many ways to copy files from one drive/computer to another. However, all the mentioned methods have their pros, but a lot of cons as well. Hence, it is recommended to use Ease US Todo PCTrans to copy files. This software poses no security threat and is user-friendly.

Please provide the English content you want translated, and I'll do my best to translate it into Chinese.

  Buy Now

30-Day Money-Back Guarantee