Quick Tip: Copying Files that do not Exist in the Target Folder with XCOPY

Here is how you can copy only the files that do not already exist in the target directory from a given source directory. It will also copy all files that are newer in the source directory than in the target directory.

C:\>xcopy c:\temp\testcopy\source c:\temp\testcopy\target /e /d