Search code examples
scriptingbeyondcomparebeyondcompare3

Using Beyond Compare 3, how do I generate a report comparing two given folders and showing how many lines were changed in each files using a script


Using a .cmd files that calls a .txt file to generate a txt report. Trying to do a folder compare but that keeps coming up blank


Solution

  • Use the file-report scripting command.

    load c:\folder1 c:\folder2
    expand all
    select all.files
    file-report layout:summary output-to:c:\out.txt
    

    To run the script, use the command line:

    bcompare.exe @c:\script.txt
    

    References:

    Beyond Compare Help - Scripts

    Beyond Compare Help - Scripting Reference