Reputation: 1291
I am having a source folder which has folders (say A,B,C) that i should copy to my destination folder, But while copying if my destination folder has a folder say A, then that folder should not be copied, other two folders should be copied to the destination folder.
Upvotes: 1
Views: 555
Reputation: 1291
I myself found a solution for this.
I use XCOPY
with the following parameters: /D /Y /R /H /s /i
.
E.g.:
xcopy source destination /D /Y /R /H /s /i
Upvotes: 1