xcopy, delete files not in source

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, Can someone tell me if there is a parameter for deleting files in the
destination directory that are no longer in the source directory?
Thanks!
 
dj_bell said:
Hi, Can someone tell me if there is a parameter for deleting files in the
destination directory that are no longer in the source directory?
Thanks!

We use a 3rd party program called xxcopy ( http://www.xxcopy.com ). They
have a free and 'pro' version too. Worth checking out.
 
dj_bell said:
Hi, Can someone tell me if there is a parameter for deleting files in the
destination directory that are no longer in the source directory?
Thanks!

Have used XCOPY for years, from its DOS days and do not believe
that such a capability exists. But what is the difference between
deleting the contents of a folder and then using XCOPY to copy
from the source to it? We used to run a batch file to accomplish
this in the DOS days.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top