Benefit from Command Prompt Copy Files
Copying files with command line has some advantages comparing to traditional way of files copying. For example, it saves the time of manually copy and paste. Also, it supports unattended task while copying. That is to say, you can leave the computer alone and take a break after inputting some certain commands. The task will run automatically.
Unlike some sorts of data backup with CMD, it is a little bit of fiddly to copy each file manually, especially when these files are stored in different locations. If they are placed in one same partition or volume, it would be more convenient to backup entire partition.
Anyway, you may have other reasons to do files copy in Command Prompt. However, the most important thing is to figure out how to perform.
How to Copy Files Using Command Prompt in Windows 7?
Two methods on how to copy and paste files using CMD for different purposes will be introduced below. Choose the one that suits you most.
Copy Specific File via Command Prompt
1. Press Windows + R key combination (or click Start) to start Run.
2. Type cmd and hit OK in the box to launch Command Prompt.
3. At the prompt, type copy c:\workfile.txt d: and press Enter to copy the file named “workfile.txt” on the root of C drive to D drive root.
To copy some certain file extensions from one drive to another, you can run, for example, copy *.txt d: to copy all texts to D drive at a time.
This method also applies to copying files using Command Prompt in Windows 10.
Copy Directory and Contents Using Command Line
It would be better to copy folders with the help of XCopy command in this method.
1. Open a Command Prompt as instructed.
2. Input xcopy c:\workfile d:\test and press Enter to copy a directory and contents in “workfile” to “test”.
3. To copy a directory with a space in the name, you need to surround it with quotes. For example, type xcopy c:\workfile “d:\test new”.
Tips: By default, the basic XCopy command only copies files in the directory you specify as the source directory. You must use the /E option to copy subdirectories within the source directory as well.
Easier Way to Copy Files in Windows 7/8/10
With covered two methods, it is quite easy to copy files in Windows 7 with command line. Nevertheless, those methods are convenient for some special groups of Windows users who are familiar with command line operations. For the majority of users, that is a little complex. In addition, the XCopy command refuses to work sometimes. That’s why so many people looking for XCopy alternative on the Internet.
Is there simpler way to copy files from one location to another in Windows 7? Apparently, the answer is positive. AOMEI Backupper Professional is reliable backup software that designs for Windows OS only. It allows you to backup files to different places as well as sync files/folders in Daily, Weekly, Monthly, Event-trigger and Real-time mode. Full backup, incremental backup and differential backup are also supported.
For advanced users, the software also provides the way to backup hard disk, system drive, and partition/volume in Command Prompt. You can also do system restore from Command Prompt when the need ever arises in the future. Except for that, command line clone hard drive, partition, or system drive is also available.
How to Copy Files/Folders in Windows 7 Step by Step?
1. Download AOMEI Backupper, install and start it. Connect the external storage to your Windows 7 if necessary.
2. Click Backup and then scroll down to find File Sync.
3. Choose the files or folders you’d like to copy from by clicking Add Folder. You are allowed to include or exclude certain file extensions in the pop up window.
4. Click Step2 to choose the destination path you’d like to copy to. You are allowed to copy files to OneDrive.
5. Click Start Sync to execute the task.
Sync Options: comment the task and set email notification here. You’ll see encrypt backup image, split image and compress image in this option if you run backup task.
Schedule: choose synchronization type from Daily, Weekly, Monthly, Event-trigger and Real-time here.
The program will run missed task at the next system startup by default.
You can add multiple folders and to do synchronize them at a time.
Edit the task name if you want to.
Two available ways on how to copy files using Command Prompt in Windows 7 are presented in this article. Choose the most helpful one based on your situation. What’s more, another way on how to easily copy files in Windows 7/8/10 is also been discussed. The comprehensive backup software supports move hard drive to new computer in Windows 7 as well.