Announcement

Collapse
No announcement yet.

Selection of File Formats on left/right side

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

  • Selection of File Formats on left/right side

    I want to compare a text file with itself, but with two different File Format selections.

    I can easily do this manually in the BC3 text compare window by changing the File Format on the left/right side.

    But is it also possible via command line Parameters or via scripts?

    Something like:
    BComp.exe "Test.cpp" "Test.cpp" "C,C++,C# Source" "SomeCustomFileFormat"

    Best regards,
    Scookus

  • #2
    Hello,

    Unfortunately this is not directly supported on the command line. The best workaround I can think of would be to use the /vcs parameter (Designed to be used with vcs solutions) to override the name with a custom name, and in the graphical interface, have your custom name associated with this special mask.

    In the Tools menu -> File Formats, go to the CustomFileFormat and give it a unique mask, such as "*.customHere"

    Then, the command line would be:
    Bcomp.exe "test.cpp" "test.cpp" /vcsright="test.cpp.customHere"

    This will open the right pane with the test.cpp file, but would give it the name "test.cpp.customHere", which would then automatically open with that custom File Format. How does this work for you?
    Aaron P Scooter Software

    Comment


    • #3
      Not a perfect solution, but it works fine for me.
      Thank you!

      Regards,
      Scookus

      Comment

      Working...
      X