John_I
09-May-2005, 01:24 PM
Using v2.2.7 I have the following script that appears to work (compares the correct files) but the resultant report is not what I expected (nothing like the gui and appears to only list the file contents). Any thoughts? Thanks.
load c:\temp\PreviousFile c:\temp\CurrentFile
log verbose "C:\temp\BeyondCompareLog.txt"
expand All
select all.files
compare binary
file-report layout:side-by-side options:display-mismatches output-to:c:\temp\BeyondCompareResults.txt
The log contains:
05/09/2005 03:11:21 PM >> log verbose "C:\temp\BeyondCompareLog.txt"
05/09/2005 03:11:21 PM >> expand All
05/09/2005 03:11:21 PM >> select all.files
05/09/2005 03:11:21 PM >> compare binary
05/09/2005 03:11:21 PM Binary Comparison of <c:\TEMP\PreviousFile\File2.txt> to <c:\TEMP\CurrentFile\File1.txt>
05/09/2005 03:11:21 PM Elapsed time: 0.00 seconds
05/09/2005 03:11:21 PM >> file-report layout:side-by-side options:display-mismatches output-to:c:\temp\BeyondCompareResults.txt
05/09/2005 03:11:21 PM Script completed in 0.06 seconds
The contents of the report (c:\temp\BeyondCompareResults.txt):
FILE COMPARISON
Produced: 05/09/2005 03:11:21 PM
Mode: Just Differences
Left base folder: c:\TEMP\ToptechVersionAudit\PreviousTopTechAuditFi le
Right base folder: c:\TEMP\ToptechVersionAudit\CurrentTopTechAuditFil e
File: File1.txt
-+ 1
2
3
4
5
6
7
8
9
0
a
b
c
d
-------
File: File2.txt
1 +-
2
3
4*
5
6
7*
8
9
0
a
h
d
i
-------
load c:\temp\PreviousFile c:\temp\CurrentFile
log verbose "C:\temp\BeyondCompareLog.txt"
expand All
select all.files
compare binary
file-report layout:side-by-side options:display-mismatches output-to:c:\temp\BeyondCompareResults.txt
The log contains:
05/09/2005 03:11:21 PM >> log verbose "C:\temp\BeyondCompareLog.txt"
05/09/2005 03:11:21 PM >> expand All
05/09/2005 03:11:21 PM >> select all.files
05/09/2005 03:11:21 PM >> compare binary
05/09/2005 03:11:21 PM Binary Comparison of <c:\TEMP\PreviousFile\File2.txt> to <c:\TEMP\CurrentFile\File1.txt>
05/09/2005 03:11:21 PM Elapsed time: 0.00 seconds
05/09/2005 03:11:21 PM >> file-report layout:side-by-side options:display-mismatches output-to:c:\temp\BeyondCompareResults.txt
05/09/2005 03:11:21 PM Script completed in 0.06 seconds
The contents of the report (c:\temp\BeyondCompareResults.txt):
FILE COMPARISON
Produced: 05/09/2005 03:11:21 PM
Mode: Just Differences
Left base folder: c:\TEMP\ToptechVersionAudit\PreviousTopTechAuditFi le
Right base folder: c:\TEMP\ToptechVersionAudit\CurrentTopTechAuditFil e
File: File1.txt
-+ 1
2
3
4
5
6
7
8
9
0
a
b
c
d
-------
File: File2.txt
1 +-
2
3
4*
5
6
7*
8
9
0
a
h
d
i
-------