pull down to refresh

I often find myself on a random Window server doing troubleshooting trying to compare two text files.
Examples:
  • Is the host file the same as another one.
  • Is this SQL Script the same.
There are online text compare tools which are fast and easy but submitting data to an off site server has its issues.
Please post your recommendations for a light weight program (or maybe there is a built in windows tool) that can be installed quickly that will let me compare two text files and see the differences.
Thanks
I have in the past just used cygwin compiled gnu diff for this. IIRC it just needs the main cygwin dll in the same dir and done.
But... don't take windows advice from a Linux person.
reply
reply
oh. great! thanks for the idea.
reply
Thank, Works Well.
It was easy to add the plugin
reply
I use the open source tool Notepad++ for most of my editing. And then there's a compare plug-in tool that I use - I think it's just called Compare. It's fine, and I'm used to it, so I stick with it.
reply
If you just want to quickly check if the two files are the same, you can compare and see if the hashes match. Command is Get-FileHash [test.txt]
reply