No announcement yet.

Problem while executing Bcomp.exe from c++

  • Time
  • Show
Clear All
new posts

  • Problem while executing Bcomp.exe from c++

    Hello everyone

    I have been trying to run a script from c++ via Bcomp.exe

    It has to compare two files in two folders and output the differences/mismatches in Report.txt. However, i get the BC window saying that script executed in 0.00 seconds. Is there a problem with the path definitions of the files?

    here is the command:

    system("\"C:\\Program Files\\Beyond Compare 3\\BComp.exe\" @Result.txt D:\\file1\\data1.txt D:\\file2\\data1.txt D:\\Report.txt");

    The script file is :

    file-report layout:side-by-side &
    options:display-mismatches &
    output-to: %3 %1 %2

    I've been facing a similar problem where I've been using the qc switch. The paths of the files to be compared are not processed.

    Plz reply asap as I need to work this out pretty fast.

    Thanks in advance

  • #2

    When you get the "Script Executed in 0 seconds" in your script window, is there any other log information? A screenshot of the window may be helpful.

    If you execute your script from the command line from the command line, do you get the behavior you expect?
    Aaron P Scooter Software


    • #3
      Please feel free to email us at [email protected] if you do not want to post a screenshot on our public forums. If you do email us, please include a link back to this forum post in the email for reference.
      Aaron P Scooter Software


      • #4
        Hello Aaron

        I have mailed the screenshot as the upload of the image failed over here.

        In answer to your second question, yes, it is being executed when run from the command line.

        Thanks a ton