I'm want to create batch file that copy folder and subfolders from one computer to another.
I want to put the file in Scheduled Tasks to create copy of the files evry 2 hours but do not overweight the existing files.
If the existing files are modified then overweight the file but do not promp about it, just copy automatically the files.
Thank you all.
Don't use xcopy, use either "replace" or "robocopy", they will do this for you.
Use the /? for command switches.
but in xcopy ther is this option:
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
and this is what i'm looking for.