Submitted By: Anonymous Submission

Copies all the files from drive X to drive Z. If the script finds the same file on the destination, it will only that file only if the source file is newer. The script will also create new folders as needed. I also added the /EXCLUDE switch (you will need to create the file Exclude1.txt yourself).

Visual Basic
xcopy /D /E /C /I /R /K /Y /EXCLUDE:c:\exclude1.txt x:\ z:\