Announcement

Collapse
No announcement yet.

two folders compare w/ output

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

  • two folders compare w/ output

    I want to compare two directories in "Binary comparison"
    Output "Compare Results" to a text file
    Show only the different files.

    I want to run this through command line (no GUI). Where do I start?

    This will show the GUI
    "C:\Program Files\Beyond Compare 2\BC2.exe" "C:\comp_1" "C:\comp_2"

  • #2
    The help file topics "Command Line and Scripting > Scripts Overview" and "Command Line and Scripting > Scripting Reference" are good places to start.

    Here's an example script that will do a binary comparison of folders, then list the different files to a text file:

    criteria binary
    load c:\folder1 c:\folder2
    expand all
    folder-report layout:side-by-side options:display-mismatches output-to:c:\report.txt

    To run the above script, use the command:
    bc2.exe @c:\script.txt
    Chris K Scooter Software

    Comment


    • #3
      Thanks for the help and the solution.

      Comment

      Working...
      X