xcopy "C:\a" "C:\b" /d /e /y
There is a command called /u that copies files from Source that exist on Destination only. I want the total opposite of this, where you delete files from Destination where they do not exist on Source.
Basically, I want A and B to be exact copies after I run the script without having to actually delete B and copy everything.
Any tips?
This post has been edited by MrSooty: 30 November 2011 - 07:33 AM

New Topic/Question
Reply




MultiQuote





|