>Has anyone already written anything which copies a directory structure but only copies those files that have changed? I have a utility that does that, but I want to do something specific to VFP files. For example, if the file is part of a form and either the .sct or .scx have changed, I want to copy both the .sct and .scx. The same for reports and classes, et al.
>
>I have another workstation with a mapped drive letter that I need to have a copy of a directory and its subdirectories on. I don't want to copy every file in the entire directory though if not necessary.
>
>I could write something, but I think it has already been done...
Tracy,
I think robocopy will do the job. It can keep a mirror copy of a folder + subfolders. Copies new/changed files and deletes files that have disappeared.
I think its included from win 2003 onwards and it was included in my Vista. I use it every day to sync my work to 3 usb drives. In addition, each usb drive as 7 folders (01 02 03 ... 07). On monday I sync my D: drive to V:\01, Tuesday to V:\02, etc. So I can always go back a week
http://support.microsoft.com/kb/160513Download details for XP:
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=enIn addition to the command line (batch file) I use, there's a GUI interface
http://www.microsoft.com/technet/technetmag/issues/2006/11/UtilitySpotlight/default.aspxThis is a command line reference I have found
http://theether.net/download/Microsoft/Utilities/robocopy.pdf
Gregory