Announcement

Collapse
No announcement yet.

Run BC2 from IE with paths passed as parameters

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

  • Run BC2 from IE with paths passed as parameters

    Hi there, does anyone know how we can run hit a link on a web page internally that opens Beyond Compare and compares two network shares passed through from an ASP script?

    eg there are two form fields containing locations and we want to hit a button or link which compares these locations.

    I have Beyond Compare launching on a C:\test.html file but can not pass through even a mapped or UNC path.

    Thanks in advance!

  • #2
    Re: Run BC2 from IE with paths passed as parameter

    I'm not sure of the specifics of calling Beyond Compare from ASP, but I can describe how to pass command line arguments to a script.

    Beyond Compare scripts using the variables %1 through %9 to represent command line arguments.

    Here's an example folder-report script:
    Code:
    load %1 %2
    expand all
    folder-report layout:side-by-side output-to:%3 output-options:html-color
    To run the script, use the command:
    bc2.exe @script.txt path1 path2 out.html
    Chris K Scooter Software

    Comment

    Working...
    X