How do I compare two directories on cmd prompt of Windows m/c? I want equivalent of diff -r of UNIX.
The comp command for Windows is what you're looking for.
Here the example:
To compare the contents of the directory C:\Reports with the backup directory \\Sales\Backup\April, type:
comp c:\reports \\sales\backup\april