PDA

View Full Version : XCOPY Backup help



markstaylor
02-05-2006, 08:59 PM
I need some help writing the code for a project that will do the following.
There is no interface at all.

Based on the day of the week, Mon, Tues, Wed, Thurs, Fri, Sat, Sun
On Sunday, Copies files and Directories from a defined share to another share on a network. (easy)

Mon - Fri copies only modified files from the same source but to a share named that day. For example if the day is Wed. then all modified files (Compared to the Sunday backup) will be copied to the Wed folder on the destination share.

My Boss wants me to use the XCOPY comand.

This will be unattended and run from Windows Sheduler.
I would like to log the success and failure of these backups also.

Any help is grealy appreciated.