Announcement

Collapse
No announcement yet.

Automate patch diff - report

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

  • Automate patch diff - report

    I would like to automate the creation of a patch diff on 2 files in a text report. I am using BC3 pro and can go into the UI to accomplish this. (Session|Text Compare Report, Patch, Normal, Plain Text, Save As). I would like to do this all from the command line without displaying the UI. I have tried running a script file to do this (per your web site) "text-report layoutatch optionsatch-normal output-to:%3 %1 %2". However the UI always pops up and the generated text file is not the same as when I go through the UI. How can I do this?

  • #2
    Hello,

    You mention that the "UI always pops up", which command line are you using? Are you calling:
    bcompare.exe "@C:\bcscript.txt" "c:\file1.txt" "c:\file2.txt" "c:\bcpatch.txt"

    where bcscript.txt contains the script example:
    Code:
    text-report layout:patch options:patch-normal output-to:"%3" "%1" "%2"
    Aaron P Scooter Software

    Comment


    • #3
      Yes I am using that format. I have tried the /silent switch as well, but that didn't work either. I could live with the UI popping up, but the difference in file is what really a problem.
      Thanks!

      Comment


      • #4
        Hello,

        Could you email or post a pair of BCGuiReport.txt and BCScriptReport.txt? If you email us, please do so to support@scootersoftware.com and include a link to this forum thread.

        Silent will hide the UI window. Script will have a small window that appears unless /silent is used; but it should be specific to script, the script runs, and the window can then be closed (manually or automatically).

        Update: a copy of the Script.txt and your BCSupport.zip (Help menu -> Support; Export) would also be helpful.
        Aaron P Scooter Software

        Comment

        Working...
        X