Integration

Last modified: September 19, 2023

Windows Explorer Integration is intended for starting file and folder comparison from Windows Explorer (or any other file management tool).

Code Compare is easily integrated into Windows Explorer. Code Compare menu items are integrated into the standard Windows Explorer popup menu.

Windows shell

In order to open this menu right-click any file in your file manager.

Code Compare Menu Items in the Windows Explorer Context Menu

The Code Compare menu integrated into the Windows Explorer context menu contains the following items:

  • Compare with Code Compare - choosing this item will open the selected file or folder in the Code Compare document area.
  • Select Left - choosing this option for the selected file or folder will define it as a source for comparison.
  • Select Right - choosing this option for the selected file will define it as the second source for a three-way comparison.
  • Compare with “<File Name>“ - choosing this option will mark the second source for comparison (either file or folder) and open both sources in the Code Compare document area.
  • Compare with “<File Name>”, “<File Name2>“ - choosing this option will mark the third file for a three-way comparison and open all three files in the Code Compare document area.
  • Clear Selection - choosing this option will clear source file or folder selection.

How to Compare Two Files in One Folder

To compare two files located in the same folder, do the following:

  1. In Windows Explorer, navigate to the folder containing the required files.
  2. Select them while holding the CTRL key.
  3. Right-click the selected files and in the popup menu select Compare with Code Compare.

How to Compare Two Files in Different Folders

To compare two files located in different folders, do the following:

  1. In Windows Explorer, navigate to the folder containing the first file you want to compare.
  2. Right-click the required file and in the popup menu choose the Select Left menu item.
  3. Navigate to the folder containing the second file you want to compare.
  4. Right-click the required file and in the popup menu choose Compare with “<file name>“.

Note

If a wrong file has been selected, you can clear the selection. For this, use the Clear Selection popup menu item.

How to Compare Three Files

To compare three files, do the following:

  1. In Windows Explorer, navigate to the first file you want to compare.
  2. Right-click the required file and in the popup menu choose the Select Left menu item.
  3. In Windows Explorer, navigate to the second file you want to compare.
  4. Right-click the required file and in the popup menu choose the Select Right menu item.
  5. Navigate to the folder containing the third file you want to compare.
  6. Right-click the required file and in the popup menu choose Compare with “<file name1>”, “<file name2>“.

Note

If a wrong file has been selected, you can clear the selection. For this, use the Clear Selection popup menu item.

How to Compare Two Folders located in One Folder

To compare two folders located within the same folder, do the following:

  1. In Windows Explorer, navigate to the folders you want to compare.
  2. Select them while holding the CTRL key.
  3. Right-click the selected folders and in the popup menu select Compare with Code Compare.

How to Compare Two Folders located in Different Folders

To compare two folders located in different folders, do the following:

  1. In Windows Explorer, navigate to the first folder you want to compare.
  2. Right-click the required folder and in the popup menu choose the Select Left menu item.
  3. Navigate to the second folder you want to compare.
  4. Right-click the required folder and in the popup menu choose Compare with “<folder name>“.

Note

If a wrong file has been selected, you can clear the selection. For this, use the Clear Selection popup menu item.