Hello,
I apologize if this is a dumb question...
I'm trying to write script that will compare two binary files and output the equivalent of "Hex Compare Info" in the GUI, and I can't figure this out.
The closest that I can get is something like:
file-report layout:statistics output-to:report.txt file1.exe file2.exe
But it always performs a "Text Compare" - I've tried "compare binary" and "criteria binary" and those don't have any effect.
Put another way, I'd like to perform a byte-wise comparison instead of a line-wise comparison - I can't figure out how it's arbitrarily deciding what constitutes a line in these binary files when doing the "Text Compare".
Is it possible to do what I'm attempting?
Thank you in advance for your help!
Sincerely,
Matthew
I apologize if this is a dumb question...
I'm trying to write script that will compare two binary files and output the equivalent of "Hex Compare Info" in the GUI, and I can't figure this out.
The closest that I can get is something like:
file-report layout:statistics output-to:report.txt file1.exe file2.exe
But it always performs a "Text Compare" - I've tried "compare binary" and "criteria binary" and those don't have any effect.
Put another way, I'd like to perform a byte-wise comparison instead of a line-wise comparison - I can't figure out how it's arbitrarily deciding what constitutes a line in these binary files when doing the "Text Compare".
Is it possible to do what I'm attempting?
Thank you in advance for your help!
Sincerely,
Matthew
Comment