Announcement

Collapse
No announcement yet.

Don't create a compare report if no difference

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

  • Don't create a compare report if no difference

    Hello,

    Is it possible to not create a report if there is no difference in a folder-report ?

    My script works correctly every day but I don't want to create it if there is no difference.

    Is there an option for this ?

    Here is my script :

    Code:
    C:\Users\*****\Desktop\Beyond~1\BCompare @"%scriptDir%\CompareScriptv3.txt" "%myBenchmark%" "%dir2%" "%rightNow%" /silent
    Code:
    log verbose append:"%3.log"
    load "%1" "%2"
    expand all
    select all.files
    filter "Ima*.txt;*typ.*;*tra.*"
    criteria rules-based
    folder-report layout:side-by-side &
     options:display-mismatches,include-file-links &
     output-to:"Compare\BCReport_%3.html" output-options:html-color,wrap-word


    Thanks !

  • #2
    Sorry, there isn't an option to avoid creating a report if there are no differences. It's on the feature request list for a future version.
    Chris K Scooter Software

    Comment


    • #3
      No problem, thank you for your response. I just modify my script to check if there is a file in the BcFiles folder and it works.

      Thanks!

      Comment

      Working...
      X