xcopy "E:\bak_test" "\\teh-serverer\luna\bak_test" xcopy "\\teh-serverer\luna\bak_test" "E:\bak_test"
the only thing it doesn't do is delete directories & files on the network drive that have been deleted on the local drive.
what's the best way to go about that?
should i compare the 2 directories first then delete stuff? if so, how?
i looked into the if exist/not exist statements but i dont know how to make it say 'if any dir or file exist on teh-serverer that's not on E:\, then delete it.