BDiff and BPatch are a pair of related Windows command line programs for creating diffs between two files and recreating files using the previously created diffs.
BDiff is used to output information about the differences between two files, with the option to output binary information. BPatch can apply binary patches created by BDiff.
For details of how to use the programs read the manual pages – there are links in the documentation section below.
These programs are modified versions of Stefan Reuther's bdiff and bpatch utilities, based on Pascal translations of the original C source code. [Get the C source code from Google Drive].