H
hmm
I use XCOPY to keep an updated copy (on a removable disk) of selected folders
from my hard drive. I already use the /D switch to copy only files that have
changed since the last update. But what I don't know how to do is
automatically instruct XCOPY to delete files that no longer exist on the hard
drive folder (in case, for example, they were deleted). Perhaps such a
deletion could be done with another batch-file command, but I was unable to
find one in Command Prompt Help. Does anyone know how to do it?
from my hard drive. I already use the /D switch to copy only files that have
changed since the last update. But what I don't know how to do is
automatically instruct XCOPY to delete files that no longer exist on the hard
drive folder (in case, for example, they were deleted). Perhaps such a
deletion could be done with another batch-file command, but I was unable to
find one in Command Prompt Help. Does anyone know how to do it?