In order to set Code Compare as the default diff tool for Perforce, perform the following steps:
Enter the following data in the respective fields:
Location: “[InstallationDir]\CodeCompare.exe”
Arguments: $file1 $file2
Note
Use your product installation folder instead of [InstallationDir]. By default, it is C:\Program Files\Devart\Code Compare.