Header image  

ADAM BERENT

 
    HOME | SOFTWARE | CODE COMPARE

 

Code Compare Logo

FAQ

How much does Code Compare Cost?

Code Compare is free.

Does Code Compare accept command line arguments?

Yes Code Compare will accept the following arguments:
-LeftSide “FileName”
-RightSide “FileName”

For example to Compare a file c:\a.txt to c:\b.txt you would call CodeCompare:

CodeCompare.exe –LeftSide “c:\a.txt” – RightSide “c:\b.txt”

Can I use Code Compare to review Code Differences in Microsoft Visual Source Safe?

Yes Microsoft Visual Source Safe allows you to add a custom Difference Tool under:

Options->CustomEditors

You can add a new Editor as follows:

Operation: File Difference
File Extension: .*
Command Line:  CodeCompare.exe –LeftSide “%1” – RightSide “%2”

The command line must be use the full path to the CodeCompare.exe application, here is an example from my PC.

C:\\Documents and Settings\\aberent\\Local Settings\\Apps\\ 2.0\\Q46TCEA0.YBZ\\QJHAQT5G.6YW\\code..tion_5927ac24 4b805186_0001.0000_415216c444400d30\\CodeCompare.exe -LeftSide "%1" -RightSide "%2"