Announcement

Collapse
No announcement yet.

Blank Report produced when running Folder compare via command line

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

  • Blank Report produced when running Folder compare via command line

    Could you plesae advise what could be the issue, I ran the below via command line without any errors and the report came out blank, displaying only headers/ column names:

    BCompare.exe "@C:\Users\BOX\OneDrive - FRG\Documents\BulkCompare\Script3.txt" "C:\Users\BOX\OneDrive - FRG\Documents\BulkCompare\Test" "C:\Users\BOX\OneDrive - FRG\Documents\BulkCompare\Prod

    See script below:

    folder-report layout:side-by-side &
    options:display-mismatches &
    output-to:"C:\Users\BOX\OneDrive - FRG\Documents\BulkCompare\MyReport6.html" &
    output-options:html-color

  • #2
    Hello,

    It looks like you haven't loaded the target parameters. Script parameters pass in as plain text, and then have to be used in the script file commands, such as:
    log verbose "c:\temp\bcscript.txt"
    load "%1" "%2"
    expand all
    folder-report layout:side-by-side &
    options:display-mismatches &
    output-to:"C:\Users\BOX\OneDrive - FRG\Documents\BulkCompare\MyReport6.html" &
    output-options:html-color

    You could add any text this way, so if you want to also pass in a third parameter as the report name, it would look like:
    BCompare.exe "@C:\Users\BOX\OneDrive - FRG\Documents\BulkCompare\Script3.txt" "C:\Users\BOX\OneDrive - FRG\Documents\BulkCompare\Test" "C:\Users\BOX\OneDrive - FRG\Documents\BulkCompare\Prod" "C:\Users\BOX\OneDrive - FRG\Documents\BulkCompare\MyReport6.html"

    log verbose "c:\temp\bcscript.txt"
    load "%1" "%2"
    expand all
    folder-report layout:side-by-side &
    options:display-mismatches &
    output-to:"%3" &
    output-options:html-color
    Aaron P Scooter Software

    Comment

    Working...
    X