No announcement yet.

File-report for all files in a folder-report

  • Filter
  • Time
  • Show
Clear All
new posts

  • File-report for all files in a folder-report

    I want to create a report of file-reports of all files within a folder report. Is this possible via scripting?

  • #2

    Yes, using the include-file-links option in the folder-report command. For full documentation, please check the Help file -> Scripting Reference chapter, "folder-report" command.

    Here you can generate a report such as:
    load "c:\folder1" "c:\folder2"
    expand all
    folder-report layout:side-by-side options:display-mismatches-no-orphans,include-file-links output-to:"c:\reports\bcreport.html" output-options:html-color

    Since the reports will contain all orphan text (different) within a file, you may want to limit either the selected files, or customize the report. We do not have scripting to customize the file-level reports generated, but if you perform the same steps in the graphical interface and change the default options for the Text Compare, then these options are carried through and used for scripting (assuming script is run under the same Windows User account; to test, perhaps best to load "Session name" to make sure the script user has access to the same settings).
    Aaron P Scooter Software