|
|||||||
| Register | FAQ | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
hello
[my first post to the list.] can someone provide and example of a command line script that just compare 2 files (ie that does not open the GUI). basically a tradional "diff" command with stdout piped to a file i am currently able to do a folder-report but i can't make a file-report. thanks ./allan |
|
#2
|
|||
|
|||
|
Hi allan!
Have you already read the helpfile of Beyond Compare (by pressing F1)? In the chapter "Scripting Reference" the command file-report is explained. What exactly is your problem with that command? Can you probably post an example of your script? Bye Christoph |
|
#3
|
|||
|
|||
|
There are two ways to make a file report.
Definition of file-report from the help file: Code:
file-report layout:<layout> [options:<options>] \
[title:<report title>] \
output-to:(printer|clipboard|<filename>) \
[output-options:<options>] [<filename1> <filename2>]
Here's an example script for a diff of two named files: file-report layout:side-by-side options:display-mismatches output-to:%3 output-options:html-color %1 %2 The script expands %1, %2, through %9 with command line arguments to the script. To call the above script, use the command: bc2.exe @script.txt file1.txt file2.txt report.html
__________________
Chris K Scooter Software |
|
#4
|
|||
|
|||
|
thanks very uch
briliant ... i somehow was under the impression that i first needed to use the load directive to load the files ![]() ./a |
![]() |
| Thread Tools | |
| Display Modes | |
|
|