in reply to Re^2: Compare Binary Files
in thread Compare Binary Files

I have a cmp command on my windows system. There is also the comp command which has been available on all versions of windows:

C:\test>cmp cmp: missing operand cmp: Try `cmp --help' for more information. C:\test>comp /? Compares the contents of two files or sets of files. COMP [data1] [data2] [/D] [/A] [/L] [/N=number] [/C] [/OFF[LINE]] data1 Specifies location and name(s) of first file(s) to compar +e. data2 Specifies location and name(s) of second files to compare +. /D Displays differences in decimal format. /A Displays differences in ASCII characters. /L Displays line numbers for differences. /N=number Compares only the first specified number of lines in each + file. /C Disregards case of ASCII letters when comparing files. /OFF[LINE] Do not skip files with offline attribute set. To compare sets of files, use wildcards in data1 and data2 parameters.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: Compare Binary Files
by afoken (Chancellor) on Sep 08, 2011 at 18:47 UTC
    have a cmp command on my windows system.

    Because you installed it? At least the DOS-based Windows versions (1.x, 2.x, 3.x, 95, 98, ME), Windows 2000 and Windows XP lack a cmp command after a fresh installation.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)