What is the Windows equivalent of the diff command?

Viewed 483112

I know that there is a post similar to this : here.
I tried using the comp command like it mentioned, but if I have two files, one with data like "abcd" and the other with data "abcde", it just says the files are of different sizes. I wanted to know where exactly they differ. In Unix, the simple diff tells me which row and column, the comp command in windows works if I have something like "abd" and "abc". Not otherwise. Any ideas what I can use for this?

13 Answers

If you have installed git on your machine, you can open a git terminal and just use the Linux diff command as normal.

Related