apply file format in script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JackGer
    New User
    • Jan 2018
    • 2

    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
  • Aaron
    Team Scooter
    • Oct 2007
    • 15943

    #2
    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

    Comment

    • JackGer
      New User
      • Jan 2018
      • 2

      #3
      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?

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 15943

        #4
        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

        Comment

        Working...