How to compare .csv as plain text file in command line?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ruraljuror
    Visitor
    • Jun 2015
    • 4

    How to compare .csv as plain text file in command line?

    I'm running
    Code:
    bcomp.exe [file1.csv] [file2.csv]
    and it's comparing the files as "table compare", with some fancy magic that's not really needed for my purpose. Is there a way to run it with a setting to compare as plain text?

    thanks!
  • Dave_L
    Veteran
    • Dec 2007
    • 351

    #2
    The /fileviewer="Text Compare" switch should do what you want.
    http://www.scootersoftware.com/v4hel...reference.html

    Comment

    • ruraljuror
      Visitor
      • Jun 2015
      • 4

      #3
      worked like a charm, thanks!

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16000

        #4
        Hello,

        Thanks, Dave!

        Also, another tactic is to use the Tools menu -> File Formats dialog, and create a new format of the specific type (Text, Table, etc). Then assign the *.csv mask and set up the format to compare the files how you need. The topmost format in this list that matches the file mask is the one used automatically when performing a rules-based scan in the Folder Compare, clicking and launching the child comparison, or using script.
        Aaron P Scooter Software

        Comment

        • Jörg
          New User
          • Apr 2023
          • 1

          #5
          You can also open a new session "Text Compare" and open the files from inside BC.

          Comment

          Working...