How do you copy files from one drive to another drive?
Microsoft Windows users
To copy files from one drive to another drive in Windows, perform the same actions you would use to copy a file in Windows. For example, if you wanted to copy pictures from a USB flash drive to the hard drive in your computer, follow these steps. Open the USB drive in File Explorer, locate the pictures or the folder containing the pictures, and press Ctrl+C. Then, in File Explorer, go to the location you want to copy the pictures (e.g, Pictures on the left to open your Pictures folder), and paste them by pressing Ctrl+V.
There are other ways to copy files, and you can use whichever you prefer. For more information, see our page how to copy files for detailed examples.
Windows command prompt
Using the copy command
You can use the copy command from the command line to copy files.
copy c:\myfile.txt d:
The above command would copy the file "myfile.txt" on the C: drive to the D: drive.
copy *.txt e:
The above command would copy the file "example.xls" on the F: drive to the current directory. Notice that we did not specify a destination; if the destination is not specified, the current directory is used by default.
For example, if your command prompt says C:\>, you are in the root of the C:\ drive, so the above command would copy F:\example.xls to the destination C:\example.xls.
If you need to switch between drives, type the letter of the drive followed by a colon at the command line. For example, to switch to the 'I' drive, type "i:". If done correctly, it should change your prompt to "I:\>".
- See the copy command for further information and help with this command.
Using the Xcopy command
Using the xcopy command, you can copy the all the files from one drive to another drive. Example:
xcopy /h /c /k /e /r /y c:\ d:\
The above command copies all of the files on the C:\ drive to the D:\ drive. There are many options specified here (the letters with a slash before them). Here's what they do:
|/h||Copy hidden and system files. Normally xcopy skips these files, but if you specify this option, they will be copied.|
|/c||Continue copying, even if an error is encountered. Doing so can be helpful if you need to step away from the computer, and you know that you won't need to stop the copy operation, even if there are errors.|
|/k||Keep read-only attribute. If you specify this option, read-only files will retain the read-only file attribute when they are copied.|
|/e||Copy empty directories. Normally, empty directories are not copied. If this option is specified, xcopy will copy all directories, even if they are empty.|
|/r||Overwrite read-only files in destination. Normally, if read-only files exist in your destination which would be overwritten by the copy, xcopy will stop and tell you "Access denied." If this option is specified, it will overwrite them and continue copying.|
|/y||Assume yes to all overwrites. Normally, if a file would be overwritten by the copy, xcopy will ask you to confirm before it overwrites. If this option is specified, it will overwrite them without asking you.|
- See the xcopy command for a description of all options, and more example commands.
Other GUI (Graphical User Interface) methods
- Browse to the location of your files you want to copy.
- Select the files you want to copy and then right-click and select Copy in the pop-up menu. You can also use the Ctrl+C keyboard shortcut to copy the selected files.
- Once the files have been copied, move to where you want to copy the files, right-click and select Paste to copy the files to that location. You can also use the Ctrl+P keyboard shortcut to paste the copied files.