On this page
1. Prepare two small project copies #
Install WinMerge from the official download route. Extract our original folder-comparison sample, or create a new local folder named folder-diff-practice, containing before and after. Inside both, create an assets folder.
Use a text editor to create these original practice files. Save them as plain UTF-8 text:
| Relative path | before contents | after contents |
|---|---|---|
notes.txt | Review the home page. | Review the home page. |
settings.txt | theme=light | theme=dark |
old-checklist.txt | Retired checklist. | No file |
new-checklist.txt | No file | New checklist. |
assets/readme.txt | Image folder. | Image folder. |
End each file with the same ordinary newline. That keeps the example focused on content and presence. These are invented project files; there is no website or application attached to them.
You should have four files in each tree. The relative paths tell you where a file belongs underneath each root. The roots have different names, but matching children such as assets/readme.txt should line up in the comparison.
2. Compare two folders with WinMerge by selecting both roots #
Choose File → Open or press Ctrl+O. In Select Files or Folders, set the 1st path to before and the 2nd path to after. You can enter the paths directly or use Browse.
When browsing, open the target folder and leave Folder Selection in the filename field, then choose Open. Select the folder itself instead of a text file inside it. The quick-start guide confirms this selection behavior.
Enable Include subfolders so assets/readme.txt is part of the job. For this first comparison, avoid a restrictive file filter: all five relative filenames belong in the result. Click Compare.
If Compare is disabled, check both paths. Selecting one file and one folder, or entering a missing path, prevents this comparison. The opening-paths documentation explains the available selection routes.
3. Check the comparison rule and results #
Use Edit → Options, then Compare → Folder, to review Compare method. Choose Full Contents for this small text example, with no ignored text differences configured. The configuration manual explains content and metadata methods.
The result should identify two matching files, one changed pair and two files present on only one side:
notes.txt: matching text.assets/readme.txt: matching text inside the subfolder.settings.txt: different contents.old-checklist.txt: left only.new-checklist.txt: right only.
Keep both folder roots visible while reading the result. A "left only" state says where the file exists; it doesn't say whether that file should be deleted. In this example, before is the left input because you selected it as the first path.
If you intentionally choose a metadata-only comparison later, the result answers that narrower question. Two files can have equal sizes and different text. For a content check, the selected method must actually read content.
4. Inspect the changed text pair #
Open settings.txt from the folder result. WinMerge should show theme=light on the left and theme=dark on the right, with the differing text highlighted.
Read the actual values before choosing a copy direction. For a real project, the newest file isn't automatically the correct file. A reviewed setting, deployment requirement or project owner decides which version should be retained.
Return to the folder comparison after inspection. You have now linked a broad folder state to the specific changed line. That is the main benefit over a file-count comparison: the same filenames can exist in both folders while their behavior-changing contents differ.
For project history over time, Git can record the reviewed change. WinMerge is helping inspect two snapshots here; it isn't creating that history automatically.
5. Copy one approved change to the left #
For this disposable example, decide that theme=dark is the intended final value. In the folder view, select only settings.txt and choose Merge → Copy to Left. Check the confirmation's source and destination paths before accepting.
The source must be after/settings.txt; the target must be before/settings.txt. The folder-operation manual describes these copy directions and confirmation controls.
After copying, settings.txt should compare as identical. The left-only and right-only checklist files should remain untouched. If those disappear too, the selection or operation was broader than the single-file task.
Reopen the two settings files to confirm both now contain theme=dark. Don't infer success solely from a highlighted row changing color. The final file contents are the evidence for this practice operation.
6. Refresh and preserve the review context #
Choose View → Refresh Selected for selected entries when you need to update their results. If you change files outside the application, refresh before acting on an earlier comparison.
For a repeatable pair, File → Save Project stores the comparison paths and settings in a project file. Use a clear name such as practice-before-after.WinMerge. The project-file documentation explains the saved inputs.
A project file remembers how to reopen the comparison; it doesn't contain independent backups of every input. Keep recovery copies elsewhere before practicing copying or deleting on real data. FreeFileSync can handle a recurring synchronization job after you have decided its direction and rules.
Known problems with older builds #
A filter applies to only the first folder
An August 2025 filter report described this regression in 2.16.50. The 2.16.50.2 release notes list its fix. Update through the current stable route before diagnosing that older filter behavior.
Reopening loses paths in a three-way comparison
A July 2026 report described missing remembered paths in 2.16.56 and 2.16.56.2. The 2.16.58 notes list the corresponding recent-path fix. Our example uses two inputs, but a later three-way exercise should use an updated build.
Troubleshooting table #
| Problem | Cause to check | Fix |
|---|---|---|
| Compare button disabled | Missing path or a file/folder mismatch | Select two existing folder roots |
| Nested file missing | Subfolders or filters excluded it | Enable Include subfolders and inspect the filter |
| Changed text shown as equal | Comparison method or ignored differences | Review Compare method and ignore settings |
| All lines look changed | Different line endings or encoding | Check the file format before deciding to ignore differences |
| Copy action disabled | Identical entry or protected side | Select a changed practice file and check read-only settings |
| Result appears stale | An input changed outside WinMerge | Refresh the affected selection |
Variations for your next comparison #
Compare only a file type
Use a mask such as *.txt in the Filter field for a focused text job. The filter documentation explains masks and more advanced filter files. A filtered result says nothing about excluded images or configuration files.
Protect an input from copy operations
Enable File → Left Read-only or File → Right Read-only for the side you want to protect in this comparison. This protects the current WinMerge view; it doesn't change the operating-system file attributes.
Review a version-control project
Keep the folder exercise separate from resolving repository conflicts. Git GUI clients provide project status and commit context, while VS Code has a built-in text diff for two source files.
Completion checklist #
- The two roots are
beforeandafterin the intended order. - The nested
assets/readme.txtis included. - Two files match initially, one pair differs and two filenames are unique.
- You inspected the theme values before copying.
- Only
settings.txtwas copied to the left. - Both settings files now contain
theme=dark. - The unique checklist files remain on their original sides.
Next steps #
Try Meld if your next comparison is on Linux, or use your existing code editor for a simple two-file diff. Once the inputs are part of a real project, keep the reviewed change and its reason in the project's version history.
Sources #
- WinMerge quick start.
- Opening paths and project files.
- Comparison configuration and folder operations.
- Filter regression and three-way path report.
Explore more in File Utilities
- Browse all File Utilities websites
- 8 Best Free Bulk File Renamers for Desktop Work in 2026
- Best File Comparison Tools for Text and Folder Changes
- 8 Best SFTP Clients for Uploads and Remote File Management
- PowerRename vs Bulk Rename Utility: Which Windows Renamer Wins?
- Cryptomator vs VeraCrypt: Which Fits Your Files?




