Windows 中比较 2 个二进制文件的工具

发布于 2024-12-17 03:21:36 字数 1805 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

黑凤梨 2024-12-24 03:21:36

如果您只想确定文件是否相同,可以在二进制模式下使用 Windows fc 命令:

fc.exe /b file1 file2

有关详细信息,请参阅 fc 的参考

If you want to find out only whether or not the files are identical, you can use the Windows fc command in binary mode:

fc.exe /b file1 file2

For details, see the reference for fc

枕梦 2024-12-24 03:21:36

Total Commander 还有一个二进制比较选项:
转到:文件\\按内容比较

ps。我想有些人可能已经在使用这个工具,但可能不知道其内置功能。

Total Commander also has a binary compare option:
go to: File \\Compare by content

ps. I guess some people may alredy be using this tool and may not be aware of the built-in feature.

临风闻羌笛 2024-12-24 03:21:36

我最喜欢的“瑞士刀”是来自 http://www.scootersoftware.com/ 的 Beyond Compare

My favorite "swiss knife" is Beyond Compare from http://www.scootersoftware.com/

假装爱人 2024-12-24 03:21:36

我更喜欢使用 objcopy 转换为十六进制,然后使用 diff。

I prefer to use objcopy to convert to hex, then use diff.

幽蝶幻影 2024-12-24 03:21:36

在 Cygwin 中:

$cmp -bl;

diffs 二进制偏移量和值分别为十进制和八进制..Vladi。

In Cygwin:

$cmp -bl <file1> <file2>

diffs binary offsets and values are in decimal and octal respectively.. Vladi.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文