我要寻找比较两个exe文件。我要确保服务器上现有的exe文件是在code我现在有一个产品。
I am looking to compare two exe files. I should ensure that the existing exe on the server is a product of the code I have now.
我使用
>dumpbin /rawdata oldfile.exe > oldfile.txt
>dumpbin /rawdata newfile.exe > newfile.txt
>fc /b oldfile.txt newfile.txt //compare them like this
>windiff oldfile.txt newfile.txt // or this
我想他们应该只由时间戳不同。这些都是从Visual Studio 2003 VB.net前男友。
I guess they should only differ by the timestamp. These are VB.net exes from visual studio 2003.
有什么想法?
感谢。
如果你正在寻找做的是验证二进制文件是相同的,那么你可以使用类似的md5sum或sha1sum分别将有效散列二进制的实用程序。如果散列对于每个二进制是相同的,那么很有可能的文件是相同的。
If all you're looking to do is verify the binaries are identical, then you could use a utility like md5sum or sha1sum which will effectively hashes the binary. If the hashes for each binary are the same, then the chances are the files are identical.
下一篇:安卓:WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON问题问题、WindowManager、LayoutParams、FLAG_KEEP_SCREEN_ON