|Hi there, well I am not to sure if this is possible; I've had a look around and being only new to writing dos based commands (in a batch file) I am stuck with trying to do the following:|
At the moment I have two computers networked and I want to in a sense "backup/sync" a specific folder (this being the my pictures folder; I want it to have hard copies exactly the same on each computer). I've managed to get it to copy the pictures over (only new files from the source that don't exist on the target computer); I want to be able to delete pictures from the target computer that have been deleted from the source computer.
Here is what I have at the moment:
echo Grabing New Files From Mary-PC Pictures
NET USE z: \\Mary-PC\Pictures
XCOPY z: c:\Users\John\Pictures\ /D /S /Q
So yeah I want to now delete files from the target computer (John) that are no longer on the source computer (Mary-PC) but I am not sure on how to accomplish that.
Any help would be highly appreciated :)