Hi
I do this everyday - I use the XCOPY command in a MS-DOS batch file to copy changed and newly created files and folders to another computer. I schedule the task to run with administrative credentials and make sure that the targets on both computers are fully accessible by the administrative account.
I use a batch file called update.bat. This copies files and folders and retains the archive bit, it also copies newly created folders to the target. The first line creates an entry in the event log and confirms that the file has started, and last line confirms that it has finished.
eventcreate /t information /id 998 /l application /d "Update.bat has started"
start /wait /b xcopy \\servername\sharename\*.* \\servername\sharename /c /d /s /e /k /y /z /i
eventcreate /t information /id 998 /l application /d "Update.bat has finished"
One word of warning: If you will be copying a large number of files and folders you will need to use XCOPY to target individual folders. Otherwise you will run out of memory - as I discovered when I tried to copy changed files from a source that was 40GB...
So, instead of just one blanket copy command you would have the following:
start /wait /b xcopy \\servername\sharename\folder1\*.* \\servername\sharename\folder1
etc etc
Also, remember to enclose the path in quote marks "" if any of your paths contain spaces.
Good luck