Mirror Directory with Robocopy
Robocopy is included with Windows Vista and up. You can download a copy of it for free as part of the Windows Server 2003 Resource Kit Tools package at the Microsoft website if you are running an older version of Windows.
This script will make robocopy act like rsync in that it will mirror the source and the destination directories. Handy for backups.
@echo off set source=C:\path\to\source set destination=c:\path\to\destination robocopy.exe %source% %destination% /MIR /FFT /TEE /NP