Results 1 to 4 of 4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2018
    Posts
    2

    Default apply file format in script

    hi,

    I'm attempting to use BC4 with different file formats (tools->file format)

    the relevant line is:
    "C:\Program Files\Beyond Compare 4\BComp.exe" /qc /iu /K <item1> <item2>
    item1 and item2 are file names enclosed in "".

    What do I need to do in order to have this comparison run under a different file format?
    Manually, I can choose from "format" on toolbar.

    thank you,
    Jack

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

    Default

    Hello,

    The short answer is that you cannot set the File Format from the command line. It's on our wishlist to add that type of support.

    /iu is a command line that only works when you are working with a 3-way Text Automerge. With only two files and /qc it does not add any functionality. Instead, capture "12" as Similar, along with whatever other states you are looking for.

    /K is not one of our command line parameters. Did you find this one in our Help file -> Command Line Reference chapter or in another location?
    Aaron P Scooter Software

  3. #3
    Join Date
    Jan 2018
    Posts
    2

    Default

    Thank you for your help!

    /K is a command line argument, not bc. It returns the process to command line to allow for the next lines (I'm running this through matlab).
    There's /c which terminates after said command.

    I'm using this to loop through batch comparing lists of files.
    I've been capturing 12 for good measure with 1 and 2.
    Are you saying /iu doesn't do anything in this setup?

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,373

    Default

    Correct, Ignoring Unimportant would theoretically make a Similar (12) code into an Equal code (since Unimportant is then treated as Equal), but QuickCompare always returns the exact value. The /iu command line is only used as an additional option when using /automerge.
    Aaron P Scooter Software

Tags for this Thread

Posting Permissions

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