PDA

View Full Version : More about batch files


Dingbat
09-19-2004, 06:29 PM
Hi Guys,

I have a small batch file that will do a backup of a directory to a DVD. This workd great when it is adding new files to the backup.

Can anyone help with the switches to remove deleted files from the backup?

The batch is listed below:

xcopy f:\*.*\ h:\ /y /d /s

Any assistance will be greatly appreciated.

The Dingbat. :confused:

Roy Sinclair
09-20-2004, 05:22 PM
Sorry but XCOPY doesn't offer any switches that'll do that for you, it's a rather limited tool for anything beyond the most modest of backup capabilities.

Darknight
09-20-2004, 09:11 PM
http://groups.yahoo.com/group/xxcopy/

xxcopy might have what you need

If you get it working let us know what you end up with.

Good luck!