Hi all
I am not sure where to post this question so I thought I just put it in general discussion, I hope someone can help me out
I need to create a batch file where it will copy a folder from C: drive to D: Drive
Now I read a couple copy command article and could not find one to set the parameter to skip all .. like - if the files already exist skip it
so the goal here I want to copy all files in C drive to D drive, and if the file already exist, don't overwrite it and instead skip to the next file.
Here is what I have
/y = do not prompt for overwriteCode:copy c:\test1\*.* d:\test1\*.* /y
ideally I want to say no to all / skip all , but only cope files that does not exist yet
is there a parameter for that?
Thank you


Reply With Quote
