Announcement

Collapse
No announcement yet.

Difference in Return code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Difference in Return code

    Hi,

    I just want to get whether there is the difference between two files or not.
    For that I am using "/qc" command also I am passing Regex data and in some cases, I am not passing Regex data.

    So below is the result which I am getting.

    Note: Both files are different

    Without regex data

    1. /qc & Without Regex :- 13 //Rules-based differences
    2. /qc=size & Without Regex :- 11 //Binary differences
    3. /qc=crc & Without Regex :- 11 //Binary differences
    4. /qc=binary & Without Regex :- 11 //Binary differences

    With regex data

    1. /qc & With Regex :- 13 //Rules-based differences
    2. /qc=size & With Regex :- 11 //Binary differences
    3. /qc=crc & With Regex :- 11 //Binary differences
    4. /qc=binary & With Regex :- 11 //Binary differences

    Is this correct code which I am getting?

    Br,
    Bhavik Y. Shah

  • #2
    Hello,

    /qc will run a rules-based scan by default, which will be "13" if different. The other values would return "11" for differences.

    What do you mean by "& With RegEx" or without? The command line does not support additional regex declaration here. The full command line should look something like:
    bcompare.exe /qc=binary "c:\file1.txt" "c:\file2.txt"
    Aaron P Scooter Software

    Comment

    Working...
    X