Announcement

Collapse
No announcement yet.

Step-by-Step to output multiple files compare result to single file

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

  • Step-by-Step to output multiple files compare result to single file

    Objective: Compare multiple PDF files and generate one comparison report.
    Beyond Compare Version: Version 4.2.3 (build 22587) - 64-bit
    Note: I downloaded Beyond Compare and made no changes to any configuration.

    Below steps have been executed over 15 times and found no issue.
    Steps:

    1) Create an empty file tmpResult.txt under c:\temp

    2) Copy File1.pdf, File2.pdf, File3.pdf, File4.pdf to c:\temp

    3) Create a file BC_Script.txt with below line and save it to c:\temp
    text-report layout:Summary options:ignore-unimportant output-to:"%3" "%1" "%2"

    4) Create a file BatchScript.bat with below two lines and save it to c:\temp
    "C:\Program Files\Beyond Compare 4\BComp.com" "@C:\temp\BC_Script.txt" %1 %2 "C:\temp\tmpResult.txt" /silent
    type "C:\temp\tmpResult.txt" >> "C:\temp\CombinedResult.txt"

    5) Open command prompt then type cd c:\temp and press enter

    6) Type below commands
    @BatchScript.bat "C:\temp\File1.pdf" "C:\temp\File2.pdf"
    @BatchScript.bat "C:\temp\File3.pdf" "C:\temp\File4.pdf"
    Last edited by ppat7046; 17-Jan-2018, 06:15 PM.

  • #2
    Good to hear you got that working.

    Another strategy is if you have two folders with aligned (equal) file names, you can also generate a similar report without the batchscript.

    bcompare.exe "@bcscript.txt" "c:\folder1" "c:\folder2" "c:\bcreport.txt"

    load "%1" "%2"
    expand all
    select newer.files older.files diff.files
    text-report layout:summary options:ignore-unimportant output-to:"%3"
    Aaron P Scooter Software

    Comment

    Working...
    X