Multiple files in one HTML report (with context)?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • estelle
    Visitor
    • Apr 2006
    • 3

    Multiple files in one HTML report (with context)?

    Hi,

    I am new to Beyond Compare. I would like to produce a single HTML report with mode "Differences with Context" for a series of files. Ideally I want to specify two folders to be compared recursively, and only differing files will be included in the HTML report.

    Can anyone give me pointers? Is there a script or something that does this?

    Thanks,
    Estelle
  • estelle
    Visitor
    • Apr 2006
    • 3

    #2
    Re: Multiple files in one HTML report (with contex

    I've made some progress but the output report is always empty and I get this error message: "Exception occurred at: 000119EE. System Error. Code: 87. The parameter is incorrect".

    This is the script I am trying to use:
    Code:
    log normal c:\scripts\bc.log
    load c:\scripts\diff1 c:\scripts\diff2
    expand all
    select all.files
    file-report layout:side-by-side options:display-context output-to:c:\scripts\report.html output-options:html-color
    Debug log:
    Code:
    27/04/2006 5:32:50 PM  >> log normal c:\scripts\bc.log
    27/04/2006 5:32:50 PM  >> load c:\scripts\diff1 c:\scripts\diff2
    27/04/2006 5:32:50 PM  Load Comparison: c:\scripts\diff1 <-> c:\scripts\diff2
    27/04/2006 5:32:50 PM  >> expand all
    27/04/2006 5:32:50 PM  >> select all.files
    27/04/2006 5:32:50 PM  >> file-report layout:side-by-side options:display-context output-to:c:\scripts\report.html output-options:html-color
    27/04/2006 5:32:50 PM  Beyond Compare Version 2.4.1 (build 241)
    27/04/2006 5:32:50 PM  Exception occurred at: 000119EE
    27/04/2006 5:32:50 PM  System Error.  Code: 87.
    27/04/2006 5:32:50 PM  The parameter is incorrect
    27/04/2006 5:32:50 PM  Script completed in 0.11 seconds

    Comment

    • estelle
      Visitor
      • Apr 2006
      • 3

      #3
      Re: Multiple files in one HTML report (with contex

      Its all working now.... woohoo! I think i just needed to restart my computer

      Comment

      • Chris
        Team Scooter
        • Oct 2007
        • 5538

        #4
        Re: Multiple files in one HTML report (with contex

        The script will still include the filenames of matching files, but it won't list their contents. If you don't want the filenames of matching files listed in the report, use the following modified version of your script:

        Code:
        log normal c:\scripts\bc.log
        criteria rules-based
        load c:\scripts\diff1 c:\scripts\diff2
        expand all
        select all.diff.files
        file-report layout:side-by-side options:display-context output-to:c:\scripts\report.html output-options:html-color
        Chris K Scooter Software

        Comment

        Working...