For others who may be new to using XCOPY, the /M and /A switches are worth getting familiar with. When a file gets modified, the Archive attribute gets set to A (you can see this using the ATTRIB command or from Explorer under Properties for the file). You can use this attribute to tell XCOPY to copy only those files that have changed.
Lets say you've got an empty folder. You create 10 new files in it. They will all have the "A" attribute set. Usethe command:
XCOPY /M c:\source\*.* c:\dest
All of the files will be copied and the "A" attribute cleared. Now go modify 2 of the files, and rerun the same command. Only the 2 files that changed will be copied. (The /A switch does the same thing but does NOT reset the "A" attribute).
If you're working with alot of files, this is a nice way to reduce the copy time. Put the commands in a script and you got a kind of poor-man's incremental backup. ------------------------
Doug J.
Winchester, VA