Copy Command

Copy Command is a Microsoft Windows command you can use to copy a file or group of files to a new location.

What is Copy Command?

A Microsoft Windows command you can use to copy a file or group of files to a new location. The copy command can be used to copy files between volumes or within a volume to different directories. This provides a quick way of backing up files from the command prompt. The copy command can also be used to combine and move files.

Copy Command example

copy /v /y C:\myfile.txt D:\stuff\myfile2.txt

This command copies the file myfile.txt on the root of C to the folder \stuff on D and gives it the name myfile2.txt. The /v switch verifies that the copy was successful, and the /y switch suppresses the user prompt for confirmation of the action before performing it. For the full syntax of this command, type copy/? at the command prompt.