script for automating the exported regisrty comparision

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AmitDhakad
    New User
    • Jan 2018
    • 1

    script for automating the exported regisrty comparision

    I am trying to create a script in which i want to compare two registries that are already exported but in script file i am not able to load that registry files through the script file.please provide me the solution how can i load that registry files using script and then comparison of those files.
  • Aaron
    Team Scooter
    • Oct 2007
    • 16000

    #2
    Hello,

    There are two main methods for generating a comparison of files on the command line. You can use /quickcompare to generate an overall %ErrorLevel% of the comparison, or you can use scripting to generate a report with:

    bcompare.exe @c:\script.txt "c:\file1.reg" "c:\file2.reg" "c:\bcreports\bcreport.html"

    where script.txt is
    registry-report layout:side-by-side options:display-mismatches output-to:"%3" output-options:html-color "%1" "%2"
    Aaron P Scooter Software

    Comment

    Working...