Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2017

    Default Need help in writing output to same file after comparing two files


    I am comparing files using below command and able to write the output as a difference to a file.

    file-report layout:side-by-side options:display-mismatches,line-numbers output-to:%3 %1 %2

    I need help in writing output of multiple files to same file.(%3) or say I want to append the output file after every comparison.

    please help me to do the same.

  2. #2
    Join Date
    Oct 2007
    Madison, WI



    BC's scripting does not append, but you can add a wrapper .bat file to append into a total report:
    bcompare.exe "1" "2" "temprep.txt"
    cat "temprep.txt" >> "totalreport.txt"

    Appending for an HTML would not work. If you have two total folders, you can load two folders, select multiple files at once, and generate a total text-report of the entire selection in script. We have examples in the Help file -> Using Beyond Compare -> Scripting
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts