Input xcopy c:\workfile d:\test and press Enter to copy a directory and contents in “workfile” to “test”. It would be better to copy folders with the help of XCopy command in this method.Ģ. Method 2: Copy Directory and Contents Using “XCopy” Command This method also applies to copying files using Command Prompt in Windows 10. 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. 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. Type cmd and hit OK in the box to launch Command Prompt.ģ.
![commander one preparing to copy files commander one preparing to copy files](https://wiki.ispirer.com/_media/sqlways/users-guide/exp_dir.png)
Press Windows + R key combination (or click Start) to start Run.Ģ.
![commander one preparing to copy files commander one preparing to copy files](https://venturebeat.com/wp-content/uploads/2020/03/Compassionate-Search-Screens2.png)
Method 1: Copy Specific File via “Copy” Commandġ.
Commander one preparing to copy files how to#
Two methods on how to copy and paste files using CMD for different purposes will be introduced below. How to Copy Files Using Command Prompt in Windows 7 However, the most important thing is to figure out how to perform command prompt copy files. If they are placed in one same partition or volume, it would be more convenient to backup entire partition.Īnyway, you may have other reasons to do files copy in Command Prompt. 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. That is to say, you can leave the computer alone and take a break after inputting some certain commands.
![commander one preparing to copy files commander one preparing to copy files](https://static.fibre2fashion.com/articleresources/images/77/7665/The_Organisation_big.jpg)
Also, it supports unattended task while copying. For example, it saves the time of manually copy and paste. Copying files with command line has some advantages comparing to traditional way of files copying.