How do I compare two directories on cmd prompt of Windows m/c? I want equivalent of diff -r of UNIX.
You can use windiff util included in Windows from NT version and up. Just run 'windiff' and a graphic tool will pop up.
File -> Compare directories
http://msdn.microsoft.com/en-us/library/aa266122(VS.60).aspx
This article describes how to use it from command line. Great benefit of this tool is that it is already included and you don't need to download and install anything.