PDA

View Full Version : Problem during compare using script


Sreenidhi
18-Mar-2009, 12:41 PM
I have to compare the contents of two folders (say OLD and NEW) and then generate a single report of the comparisons of all the files in the two folders.
If there is any file which is present in OLD but not in NEW then the report comes out properly, i.e the contents of the deleted file being striked out. However if any file is present in NEW but not in OLD then the contents of the new file should come in the report in red color, but that doesn't happen.The file is skipped out from the entire report.
Is there a way to work around this...?
I'm using the following script...
load "%1" "%2"
expand all
select files
file-report layout:side-by-side options:display-all output-to:printer output-options:print-color,print-landscape,wrap-character

Aaron
27-Mar-2009, 02:18 PM
Hello,

Which version of Beyond Compare are you using? Are you patched to the latest version available?

BC3: http://www.scootersoftware.com/download.php
BC2: http://www.scootersoftware.com/download.php?zz=dl2_en

In BC3, the file-report command is being replaced with the text-report command.

Sreenidhi
29-Mar-2009, 10:03 AM
Hello Aaron

Thank you for your reply...I figured it out....Sorry it was my mistake. The way in which i was calling the script from my VB program was incorrect.I have on more question...it it possible to introduce a page break after each file comparison...?

Aaron
30-Mar-2009, 04:37 PM
Adding page breaks is not current functionality. You can trigger individual text-reports by giving specific filenames, and append them together however you would like with Windows .bat file commands.