• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Want to make a .bat file that will compare, copy and

lokiju

Lifer
I'm pretty sure I can do most of what I need with xcopy but am not seeing a way to compare.

Basically I want to make a .bat file that I run with a scheduled task that will look at a remote network path compare it's contents to a local path and copy over whatever isn't in the local path that is in the remote path.

I also want it to delete from the local path whatever is there that is not in the remote path.

Does someone know the syntax or commands I'd need to use to accomplish this?

The .bat file will reside on a 2003 server OS.

:beer:

Edit: I totally forgot about robocoy and the /mir command.

Does exactly what I want.

Never mind! 😱
 
Back
Top