guide · folders

Compare two folders on Windows

You have two folders that should be the same: a project and its copy, a release and its backup, two versions of a website. Which files are missing, which are extra, and which have changed? Diffoniq lists both folders side by side, marks every difference, and opens any text file at the changed lines.

The short version: press Ctrl+O and enter both folders. Read the list: one row for every file, with the other side empty where a file exists on one side only. Double-click a row to see what changed inside the file. Press Esc to go back to the list.

1. Open both folders

Start Diffoniq and press Ctrl+O. Enter the left and the right folder, or use the Dir… buttons to browse. You can also drag two folders from File Explorer onto the Diffoniq window, or start Diffoniq with both paths:

"C:\Program Files\Diffoniq\Diffoniq.exe" "D:\project" "E:\project-copy"

That is the installer’s path; the portable version runs from the folder you unpacked it to. A folder on a network share works the same way: give the network path directly, such as \\server\share\project.

The Select Directories/Files dialog: D:\project on the left, E:\project-copy on the right, the Exclude field on the left reads *.bak;tmp, below it the checkbox Hide what the .gitignore files of both folders ignore, and a saved selection named project vs copy
The selection dialog (Ctrl+O). Both folders, an Exclude pattern on the left, the .gitignore switch, and a saved selection that loads all of it with a double-click (steps 1 and 4).

2. Read the list

Diffoniq lists both folders next to each other, one row for each file or folder pair. Where only one side has a file, the other side of the row stays empty. Click a column title to sort by it; a second click reverses the order. Every file that is not identical falls into one of four cases:

CaseMeaning
left onlymissing from the right folder
right onlyonly in the right folder
differenton both sides, but not the same
unverifiedsame size, but the content check had not finished, or you stopped it with Esc. Never counted as identical.

A row where only the name or the folder differs is a renamed or moved file, shown as one pair (see below). The status bar sums it all up: identical, different, left only, right only.

Directory comparison of the folders server and laptop, 25 files each: two files only on the left, two only on the right, changed files marked in yellow; the status bar reads 17 identical, 6 different, 2 left only, 2 right only
One row per pair. Where only one side has a file, the other side stays empty; the status bar counts identical, different, left only and right only.

3. Decide what counts as a difference

Out of the box, Diffoniq ignores the modification date and time of files. A pair whose size differs counts as different without being read. Pairs of equal size are read in the background and compared by a content checksum while you browse; progress bars in the rows show that work, and the status bar counts what is still open. That answers the usual question, whether two trees are the same regardless of when the files were written, for example after a copy tool that did not keep the timestamps. The first run reads the files; a repeat run is answered from the hash cache.

If the date should count, open Options → Directory Comparison… and switch off Ignore Date and Ignore Time: files whose dates differ are then reported as different at once, without being read. That is quicker, but a file that was merely touched, copied or restored looks changed.

The same dialog holds the other choices: Ignore Case for folders that come from different worlds, such as an archive packed on Linux, where ReadMe.txt and readme.txt should count as the same file; Ignore Size, Ignore Single Files and Ignore Subdirectories; Look In Subfolders with Max Subfolder Level to limit the depth; and Detect Renamed Files.

The Directory Comparison Options dialog as delivered: Ignore Date, Time, Case and Subdirectories ticked, Size and Single files not; Sort by Date, Sort Left Side, Descending; Look In Subfolders with Max Subfolder Level 99; Detect renamed files ticked
Options → Directory Comparison…, as delivered. Date and time are ignored, subfolders are included, renamed files are detected. Nothing here was changed for the picture.

4. Leave out what does not matter

Each side has an Exclude field. Enter wildcard patterns separated by semicolons, for example *.bak;tmp. An excluded folder disappears with everything inside it. The … button next to the field opens a list with one pattern per line. Comparing two working trees of a repository? Tick Hide what the .gitignore files of both folders ignore, and node_modules and build stay out on both sides.

Save a selection you use often: type a name in the Name field, press Save, and double-click it later to load the paths and filters and start the comparison in one step.

5. Look inside a changed file

Double-click a row, or press Return on it. Text files open side by side with the changed lines marked and the changed characters highlighted inside them. Tab jumps to the next difference, Backspace to the previous one, F7 hides the identical passages in between, and the overview bar beside the scroll bar shows where the differences are. Esc takes you back to the list.

Other file types open in a way that fits them: pictures side by side, programs by their version information, and any other file byte by byte, with the position of the first difference.

Text comparison of config_loader-2.3.cpp against config_loader-2.4.cpp: added lines in green, deleted lines in red, a changed line with the changed characters marked, the overview bar on the right; the status bar reads 5 changed, 2 added
Inside a changed file. Added, deleted and changed lines side by side; within a changed line, the changed characters are marked. The overview bar beside the scroll bar maps the whole file.

6. Bring the files in line

In a text file you can drag marked lines from one side onto the other and press Ctrl+S to save. Nothing is written before that, and Ctrl+Z takes a step back. To copy whole files or mirror a folder, see Folder Synchronization in the help.

7. Moved and renamed files

A file that was renamed or moved to another folder would normally show up as one missing file and one extra file. Diffoniq pairs them and shows them on one row, with the changed part of the name highlighted. The contents are still compared, so a file that only moved shows as identical. You can switch this off under Options → Directory Comparison… → Detect Renamed Files.

Directory comparison of the folders before and after, 24 files each: report-q3.txt on the left is paired with report-2026-q3.txt on the right, the inserted 2026 marked in the name; three other files differ; the status bar reads 21 identical, 3 different, 0 left only, 0 right only
A rename is a rename. report-q3.txt became report-2026-q3.txt: one pair with the name difference marked, not a deletion plus an addition.

8. Keep the result

File → Export Report… writes what is on screen into one file: a single HTML page, plain text or JSON. A folder report lists the changes and only counts the identical files, so what you read is the list of differences. Send it, attach it to a ticket, or keep it as proof. The same report runs without a window, from a batch file or a scheduled task:

"C:\Program Files\Diffoniq\DiffoniqC.exe" /report "D:\project" "E:\project-copy" --out changes.html --content

The extension of the output file picks the format; --content compares files of equal size by content instead of leaving them unverified. The exit code tells a script whether anything differed. Details: Comparison Reports.

The Export Report dialog for D:\project against E:\project-copy: format HTML page selected, file D:\reports\changes.html, Include identical items off, Open the report when it is written on
File → Export Report… One HTML page, plain text or JSON; identical items are summarized, not listed, unless you include them.

Good to know

Other ways to compare folders

If you only need a list of names, Windows can do that without extra software: robocopy with the /L switch lists what it would copy and copies nothing, for example robocopy "D:\project" "E:\project-copy" /L /E. Free tools such as WinMerge and FreeFileSync also compare folders; our comparison page shows how they differ from Diffoniq, with the date we checked. If you come from Beyond Compare, see Diffoniq compared with Beyond Compare.

Questions

Can Diffoniq compare folders by content instead of by date? Yes, and that is how it is delivered: Ignore Date and Ignore Time are on, so files of the same size are compared by a content checksum. Switch both off under Options → Directory Comparison… if the date should count.

Does it include subfolders? Yes, with Look In Subfolders on. Max Subfolder Level sets how deep it goes.

Does it find renamed files? Yes. Renamed and moved files are paired and shown on one row.

Can I compare a folder with a ZIP file or a backup on a NAS? Yes. A folder, a ZIP file and other archives can be on either side, and a network path works. See the guides on comparing ZIP files and on checking a backup.

Can I run the comparison from a script? Yes. DiffoniqC.exe /report writes a report instead of opening a window and passes an exit code to your script.

Which Windows versions does it run on? Windows 10 and 11, 64-bit.

Try it on your own two folders

Diffoniq runs on Windows 10 and 11, 64-bit. Every feature is available for 30 days before you decide.

Windows is a trademark of Microsoft Corporation. WinMerge, FreeFileSync and Beyond Compare are trademarks of their respective owners. Diffoniq is not affiliated with any of them.