Search code examples
windowsfile-comparison

Is there a way to show the exact place where two files differ using FC command? or any other good way to compare 2 files in windows?


I'm comparing two files with the command:

  FC /W file1.txt file2.txt > log.txt

And I'm getting 4000 lines of differences...

But when it shows the difference, it just paste 3~5 lines from each file and I sorta have to compare them myself to find the place where the difference occured.

Is there a way to make it easier to see where the difference is? Maybe something like adding a flag like "HERE" in one of them where it first differ from the other?


Solution

  • I found this online diff very useful and simple to use... very good error displaying showing too