On Thu, Jul 29, 2010 at 2:34 PM, Bob W <[email protected]> wrote: >> I run xcopy as a scheduled task >> >> Can you share a little more of what you do? Did you write some bat or > cmd >> file and your schedule calls this file? > > that's right. > >> Do you mind sharing your file with me (feel free to edit >> files/paths/machine names etc if security is any concern)? >> > > It's something along these lines. The script runs on a machine called > PrecisionM50 and copies from 2 other machines, Vostro and Thinkpad, onto the > local drive of PrecisionM50. When that's completed it copies what it's just > done to an external drive (India) connected to PrecisionM50. The actual code > that runs include error handling and a few other bits. The log file keeps a > record so I know what happened. > > xcopy \\thinkpad\..\ \\precisionm50\backups\thinkpad /d > /s /c /i /f /g /r /k /x /y /z >\\precisionm50\backuplog.txt > xcopy \\vostro\..\ \\precisionm50\backups\vostro > /d /s /c /i /f /g /r /k /x /y /z >>\\precisionm50\backuplog.txt > xcopy \\precisionm50\backups \\precisionm50\india > /d /s /c /i /f /g /r /k /x /y /z /j >>\\precisionm50\backuplog.txt
Thanks ... Time to bone up on my xcopy switches! On a positive note, the "windiff" pointer looks very promising. It was already on my laptop, and seems to do a good job of identifying files in 2 directories that differ from each other. And you can print the results to a file. That is pretty much exactly what I needed! --------------------------- Sam -- PDML Pentax-Discuss Mail List [email protected] http://pdml.net/mailman/listinfo/pdml_pdml.net to UNSUBSCRIBE from the PDML, please visit the link directly above and follow the directions.

