Copy Files and Directory using CMD

Copy files And Directory In Windows Using Command Prompt(CMD)

Step 1:  Go to Run from start and type CMD and press enter 










Step 2: type following line  as below after a black window appears

xcopy dirnametocopy destinationname /s /e

For Example :
 I want to copy all the files under the folder 
named 'dr' which is in 'E' drive  to a destination folder named  
sanju which is in the 'D' drive so the command will be as

xcopy E:\dr D:\sanju /s /e






Note : if destination folder does not exists it will  be created by itself , as in the image .

Thanks ......



No comments:

Setting Spring MVC in Eclipse -Dynamic Project

Steps in Setting Up Spring MVC  The process of setting up the Spring MVC project using Eclipse is a crucial ability for anyone Java dev...

Powered by Blogger.