Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2017
    Posts
    8

    Default Need help in comparing two files but without opening beyondcompare

    Hi,

    It is very good application that I have seen for file comparison.
    I am currently running some vbscript. through which I am copying different files to folders.

    Now, I want to compare those files with different version.(E.g. File 1 with version 1 with version 2).

    I want to prepare script which will call beyond compare through vbScript and then later on compare the files and finally returns the result in text format which I want to write into a excel file.

    Main condition in this I don't want to open beyond compare App. instead of that I want to use App's API. (I am licensed user of Beyond compare Application)

    Can you please help me to get this resolved as soon as possible.

    Thanks in advance.

    Regards,
    Prasad

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,366

    Default

    Hello,

    We have a /quickcompare command line with return codes documented in the Help file -> Command Line Reference chapter. This can be called with
    bcompare.exe /quickcompare "c:\file1.txt" "c:\file2.txt"

    This will return values such as "1" for binary same or "11" for binary differences.
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •