• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Windows: A Tool to Compare Files in Two Folders

Windows: A Tool to Compare Files in Two Folders

November 9, 2022 by Mel Hawthorne 19 Comments

If you’re synchronizing directories or backing up data, it’s a good idea to double-check that the copy you’ve made is actually identical to the original. It is possible for issues to occur where data doesn’t copy across perfectly, or some data doesn’t copy across at all.

If this sort of copy failure happens to an important document, and you don’t notice, you could end up with data loss. WinMerge is a tool that allows you to compare the contents of two directories. You can see if there are any missing files or if any of the backed-up files are different from the originals. This guide will walk you through installing and using WinMerge to compare the files in two folders.

You can install WinMerge for free from their website here. Just click the green “Download Now!” button in the top right corner to download it from SourceForge. Once the installer is downloaded, double-click it to start the installation wizard.

The first page of the installer is the licence agreement, click “Next” to agree and continue. The second page allows you to configure which features to install. By default, all extensions are enabled and there’s no real reason to turn them off – leave these options as they are. If you want to install an extra language pack, you can select one or more of the many options in the language list at the bottom.

Leave all the plugins enabled and select a language pack if you want one.

Once you’ve selected the features you want, click “Next” to continue. The next page covers additional tasks. Here, there are checkboxes to enable File Explorer context menu integration, which allows you to launch WinMerge from the right-click menu File Explorer. Other options include creating a desktop shortcut and adding WinMerge to your system path, which you can leave disabled. Once you’ve selected which features you want to enable, click “Next” to continue.

The final page just shows what options you’ve selected, so double-check them, then hit “Install” to begin the installation process. Once the installation has completed, you’ll see a short message from the developers, click “Next” to skip it, then click “Finish” to close the installer and launch WinMerge.

Once WinMerge is open, press the Control+O hotkey combo to open a new comparison. To select a folder, click “Browse…” on the far right just under the “1st File or Folder” bar. Use the browse feature to select a folder that you want to compare.

Click Browse to select which folder you want to compare.

Within the browse window, you need to enter the folder you want to compare, then click “Open”. If you only select but don’t enter the folder you want to compare, the browse window will enter the folder for you. When you’ve selected the first folder, repeat the process for the second folder below it. Once you’ve selected both folders that you want to compare, ensure that both “Read-only” checkboxes are ticked. You also need to make sure that the “Folder Filter” is set to the default “*.*”, to compare all files. Once you’ve completed setting up the comparison, click “Compare”.

Configure the comparison, then click “Compare”.

With large folders containing a lot of files and subdirectories, the comparison process may take a while to complete. Once it has completed, you’ll see a list of all the files in the folders. By default, the results table lists: the filename, the path of a subdirectory, the result of the comparison, the edit dates of the file in both folders and the file extension for each file in the compared folders.

The results table lists the file details and the comparison result.

Tip: You can change which columns appear by right-clicking a column header and clicking “Customize Columns…”

The possible comparison results show if files or folders are identical or different. If the comparison says a file is “Right only” it means the file or folder was only in the second folder being compared and not the first. Conversely, “Left only” means the file or folder was only in the first folder being compared.

Different results are colour-coded to make spotting them easier. A white background means the files are identical, a yellow background means the files are different and a grey background means the files are only in one of the two folders being compared.

If you double-click on a folder, it will expand to reveal its contents. If you double-click on a file it will open a side by side comparison and will highlight the differences, if any, between the two files.

Double-clicking a file will open both copies in a side by side view and will highlight any differences.

If you have a large number of files it may be convenient to hide all of the files that are identical, to make it easier to identify differences. To do so, click “View” in the top bar, and then untick “Show identical items” by clicking on it.

Click on the “Select Files or Folders” tab in the far left, to start a new comparison.

Each comparison you run opens in a new tab. To start a new comparison, click on the “Select Files or Folders” tab in the far left, change the targets and click “Compare” again. If you only want to update the existing comparison, you can click the refresh icon on the far right or press the F5 key.

Click on the “Select Files or Folders” tab in the far left, to start a new comparison.

You Might Also Like

  • Why Do Some Windows 10 Files and Folders Have Two Blue Arrow?
    Why Do Some Windows 10 Files and Folders Have Two Blue…
  • Files & Folders You Can Safely Delete in Windows 10
    Files & Folders You Can Safely Delete in Windows 10
  • MacOS: Show/Hide Hidden Files & Folders
    MacOS: Show/Hide Hidden Files & Folders
  • Google Sheets and Drive: How to Download Files and Folders
    Google Sheets and Drive: How to Download Files and Folders
  • How to Compare Windows Registry Differences
    How to Compare Windows Registry Differences
  • How To Colorize Folders in Windows 10
    How To Colorize Folders in Windows 10

Filed Under: Software, Windows

Reader Interactions

Comments

  1. Patrick Burwell says

    December 9, 2022 at 10:53 am

    We need a tool that will compare and copy unique data between folders and ONLY overwrite from Source to destination if the source is newer. Apparently robocopy will DELETE unique files in the destination using the ‘/MIR’ command. Mirroring should do just that, mirror the contents between the TWO, not delete unique files; Will WinMerge solve this issue?

  2. Anahid Avakian says

    December 8, 2022 at 8:34 am

    I found this very helpful, but like Javier Reinoso, I wish I could save the results. I had no problem with external files, and if you attach your phone to a laptop via cable you can easily compare phone & computer.

  3. Javier Reinoso says

    October 26, 2022 at 11:03 am

    A pity that WinMerge does not save the results, it only saves the directories to compare, not all the results…

    And if the directories to be compared are very large – I have 2 directories with almost 350,000 files each – it sucks that I do the comparison again…

    Except for that, WinMerge seems to me the best, it compares excellent, it shows where the differences are, it’s very good, it’s a shame that it has a bug, it would be very easy to do, it would save the different files and I wouldn’t have to recalculate. .

    Cheers…

  4. Myrulv says

    July 15, 2022 at 1:57 am

    Works very well, even if it takes time with large drives …. ;)
    External drives, no problems.
    I can see a number of problems if you tries to compare files on a “phone”. :)

  5. Sid Lo says

    June 4, 2022 at 12:47 pm

    I did everything according to the instructions. After I hit compare I got the results table, just like the instruction says. All the folders are white except some that are grey. Here’s the problem: When I double click on a grey folder nothing happened. It didn’t review its contents. The results screen remained unchanged.. Please advise.

  6. gary says

    April 11, 2022 at 4:24 pm

    same prob as others. won’t let you compare from external drives !! only on your computer’s hard drive – pretty useless in the days on 5+ tb drives.

    is there nowhere in the software to allow it to include external drive???

  7. Dean Mathias says

    April 7, 2022 at 8:52 am

    Extremely helpful, i needed to compare a Network drive with and external SSD before moving the contents to a SharePoint site, the network drive was several hundred Gb in size and the software showed up several issues between both drives. Which were easily resolved.

  8. AussieCowboy says

    December 21, 2021 at 8:52 pm

    without going into detail I’ll just say that this is what I needed, It will help a great deal to sort out thousands of music files over 3 hard drives which are backups but not all are exact so finding what is missing on each one to make them completely the same. Good job to the people that that developed the software and thankyou for making it free.

  9. Redearl says

    October 31, 2021 at 10:34 am

    I’ve the same issue as Matt does.
    need to comp[are two directories on phone and pc.
    Not particularly useful for my purpose; wouldn’t recognize directories on my phone as valid comparison folders

  10. Scott says

    August 12, 2021 at 5:48 am

    Thanks for this quick and concise tutorial…just what I was looking for!

  11. Matt says

    July 21, 2021 at 1:17 pm

    Not particularly useful for my purpose; wouldn’t recognize directories on my phone as valid comparison folders. Had two almost identical folders containing my music library (one on my phone, one on my PC. My music library on my PC is a whole drive partition, while the library on my phone is a folder on the internal storage. No matter what I tried, when I went to open the directory on my phone, it griped that it could not open the file or location because it could not be found or was an invalid location. Was trying to find out what the difference was between the two was; The library on my PC takes up 115 folders, whereas the library on my phone takes up 114 folders, and I couldn’t figure out what folder was the odd one out. Ended up having to just re-copy the entire 76GB again because it doesn’t work.

  12. LouF says

    July 5, 2021 at 2:36 pm

    This .. is … good! I wanted to compare two folders (original and old backup folders). As anticipating, it found the files where I said “Yep, I remember doing that now”.

    It might be too manual for many, but this manual simplicity brings fast and simple comparisons (if configured so) that bring peace of mind !

  13. Nate says

    January 29, 2021 at 8:03 am

    Very helpful, Thanks!

  14. Albe says

    December 23, 2020 at 7:22 am

    Very helpful, clear and concise. Thank you !

  15. Julie McLaughlin says

    December 11, 2020 at 5:32 am

    how do I delete one of the two that are identical?

  16. george comm says

    October 26, 2020 at 8:19 am

    Have you ever looked at another open source app called FreeFileSync? If so how do they compare?

  17. Judy says

    September 23, 2020 at 6:33 am

    Extremely helpful – well written, clear and easy to follow.

  18. Frans Van der Walt says

    July 20, 2020 at 2:45 pm

    Can the function include Sub-sub folders?

    After the comparison, is there then an option to move the latest file / folder ??

  19. Robert R Richard says

    July 12, 2020 at 9:50 pm

    most helpful

Did this help? Let us know!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • 15 Best iOS 16 Beta 3 Features You Should Try Now
  • Android: How to Record and Add Custom Alarm Audio
  • What is a Hackathon?
  • How to Enable Samsung Adapt Sound for the Best Audio
  • What is Social Engineering?
  • Google Voice Typing Not Working: Fix
  • How to Combine Two Columns in Excel: 5 Best Methods
  • Google Docs: How to Type Faster With Speech-to-Text

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

You May Also Like

  • Windows 95/98
  • Microsoft Windows NT
  • Microsoft Windows
  • Microsoft Windows 95
  • Windows Media Player (WMP)

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy