Windows file manipulation

From snippet wiki
Jump to navigation Jump to search

In need to convert a file to hex:

certutil -encodehex infile.bin outfile.hex

And from hex to binary:

certutil -decodehex infile.hex outfile.bin

Now comparing the source and target binaries:

fc infile.bin outfile.bin