Summary

Do you want to compare the number of files or folders or simply visualize the difference between two folders? If so, you have two graphical and one command line method to do that. We’ll show you how to perform the folder comparison task on your Windows 11 or Windows 10 PC.

Compare Folders From Properties

To compare the number of files, subfolders, the size, and the creation date of two folders, use the Properties option in Windows File Explorer. This lets you quickly glance at the main attributes of a folder.

To start,launch File Explorerusing Windows+E. Find the first folder, right-click it, and select “Properties.”

‘Properties’ highlighted for a folder in File Explorer.

Keep the first folder’s “Properties” window open. Then, find the second folder, right-click it, and select “Properties.”

You now have the “Properties” window open for both your folders. Bring these windows side-by-side bydragging them, and you may see the differences in the contents of these folders. For example, you can see how many files both folders have, what size these folders are, and so on.

‘Properties’ windows for two folders in File Explorer.

That gives you a general overview of the differences between your folders.

Compare Folders Using Command Prompt

If you prefer command line methods over graphical ones, use the robocopy command in Command Prompt to see the differences between the two folders. This command is actually forcopying files from one folder to another, but you can make it show the differences between two specified folders and not copy any files.

To use robocopy, first open the Start Menu, searchCommand Prompt, and launch it.

Command Prompt highlighted in Start Menu.

In Command Prompt, type the following command. Replace “Folder1” with the path to your first folder and “Folder2” with the path to your second folder. Ensure both folder paths are enclosed in double quotes.

To copy a folder’s full path along with double quotes around the path, hold down the Shift key on your keyboard, right-click your folder, and choose “Copy as Path.”

The ‘robocopy’ command typed in Command Prompt.

You’ll see the differences between your folders.

If you’re curious as to what the robocopy command does, here’s an explanation of each flag we used with the command:

Compare Folders With WinMerge

If you want more details about the differences in your folders, Windows doesn’t have a built-in tool to help you with that. However, you can use a free third-party app called WinMerge to compare multiple folders.

To use it, launch a web browser on your PC, head to theWinMergesite, and download and install the app. verify to download the app’s executable and not the ZIP version.

File > Open highlighted in WinMerge.

Open the WinMerge app, then select File > Open in the Menu Bar or press Ctrl+O.

For the “1st File or Folder” field, select “Browse” and choose the first folder to compare.

‘Browse’ highlighted for the ‘1st File or Folder’ field in WinMerge.

For the “2nd File or Folder” field, click the “Browse” button and choose the second folder to compare.

In both fields, enable the “Read-Only” option. Click the “Folder: Filter” field and type*.*if it isn’t already there. This ensures the app compares all the files in both the specified folders. Then, at the bottom, click “Compare.”

‘Browse’ highlighted for the ‘2nd File or Folder’ field in WinMerge.

On the following screen, you’ll see the comparison of the specified folders. You’ll see information like identical files in both folders, files missing from one folder, and so on.

And that’s how you know what one folder has that another doesn’t. This can be really useful if you’re trying to quickly compare different versions of the same folder, like you’d have when youcreate a backup.

Various comparison options highlighted in WinMerge.

The comparison of two folders in WinMerge.