No announcement yet.

Output report of comparing of two files

  • Filter
  • Time
  • Show
Clear All
new posts

  • Output report of comparing of two files

    I want to compare each file in 1 directory to each file in another directory and recieve 1 report of all the differences.

    So, my script.txt is :

    load "C:\files2" "C:\files3"
    expand all
    select all
    file-report layout:side-by-side options:display-mismatches,line-numbers & output-to:"C:\otput.txt"

    As a result the otput report looks like the list of content of two files (not just difference) and content of second file displayed under content of first file
    There are two attached files :
    output.txt - given from running script
    report.txt - given from BC program/File difference report (this kind of report i would like to recieve after running script)

    Anyone know What may be a problem ??

    Thanks in advance

  • #2

    The script is opening the two folders, and then running the report. But the file names are different so they do not align by default. You will need to run the file-repot on the file names explicitely, or have the files named the same so they align automatically.
    Aaron P Scooter Software