Hi friends, today I am going to tell you a different thinks related to Windows operating systems that is copy and xcopy commands and also what is difference between xcopy and copy? Let us talk about these images
commands one by one. Copy command used to copy the files from one location to another. It is an internal command which supports all versions of Windows OS such as Win 7, Win XP, Win server 2003, Win 8, and Win server 2008. By using COPY keyword you can copy the files and folder from source to destination easily. Xcopy command is an advanced version of the copy command. It is used for moving files, directories, and even entire drives from one location to another. It supports all the versions of Windows operating system.

How to uses these commands?

Ex:
1-xcopy *.* /h hope

In this example xcopy command copies all the files from current location, including hidden files to the hope destination.2-Xcopy c:\temp /e

It is the basic xcopy command for coping files, subdirectories and directories from current directory to the temp location.

Even by making the use of copy command you can also copy all specific files such as text files by using its extension that is .txt.

Ex:
1-copy *.txt c:\

Here in above example, copy command copy all the files whose extension is .txt from the current directory to the c drive.

2-copy *.* a:

By using copy command you can also combine the content of one file to another file like “copy file1.txt+file2.txt. In this example copy command copies the content of file1.txt file and combine it with the content of file2.txt file. In order to know more about xcopy and robocopy commands, then check it out
.