Announcement

Collapse
No announcement yet.

Comparing files with the same name in different subfolders

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

  • Comparing files with the same name in different subfolders

    Hi,

    I want to compare all files of the same name that reside in different subfolders within a main top level folder. i.e.

    /test_folder/test_1/expected/output.txt with
    /test_folder/test_1/actual/output.txt

    /test_folder/test_2/expected/output.txt with
    /test_folder/test_2/actual/output.txt

    /test_folder/test_3/expected/output.txt with
    /test_folder/test_3/actual/output.txt

    I found on this forum that I could script this to compare one pair of files at a time and append the generated reports together (http://www.scootersoftware.com/vbull...=append+report) but was just wondering if there was a cleaner easier way? in the GUI even better

    Thanks for any advice.

  • #2
    Scripting the compare one pair of files at a time is probably the best way to do this.

    If all of your expected files were under one top level folder and all of your actual files were under another, then you could compare them with "View > Ignore Folder Structure". That still will be problematic because all of the output files have the same names, so scripting is probably your best bet.
    Chris K Scooter Software

    Comment

    Working...
    X