Script to compare folders with .bat

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JAPAJARI
    Visitor
    • Feb 2014
    • 4

    Script to compare folders with .bat

    Hi there!

    I'm new using BC3, and i would like to know how to use the script capability and combine it with a batch file.

    Does anybody has an example to implement a script to compare 2 folders and generate a full html output?

    Thanks for your support.

    Regards!
  • Aaron
    Team Scooter
    • Oct 2007
    • 16002

    #2
    Hello,

    We have scripting documentation and sample scripts in the Help file -> Using Beyond Compare -> Automating with Script.

    The batch file would use the command line call:
    bcompare.exe "@c:\bcscript.txt" "c:\folder1" "c:\folder2"

    The script could be similar to:
    load "%1" "%2"
    expand all
    folder-report layout:side-by-side output-to:"c:\bcreport.html" output-options:html-color
    Aaron P Scooter Software

    Comment

    • JAPAJARI
      Visitor
      • Feb 2014
      • 4

      #3
      Thanks a lot Aaron, it was usefull

      Comment

      Working...