命令行工具转储Windows DLL版本? [英] Command line tool to dump Windows DLL version?

查看:243
本文介绍了命令行工具转储Windows DLL版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个命令行工具来转储标准的Windows DLL版本信息,所以我可以通过bash脚本(Cygwin)来处理它。

I need a command line tool to dump standard Windows DLL version info so I can process it by means of a bash script (Cygwin).

我不是很习惯于Microsoft开发工具(虽然我有一点微软Visual C ++ 4.0和Microsoft Visual Basic 6.0的经验)。

As a Java developer I am not very used to Microsoft development tools (though I have a little bit of experience with Microsoft Visual Embedded C++ 4.0 and Microsoft Visual Basic 6.0).

mt.exe ,作为订阅SO 。然而,我发现得到这个小应用程序的唯一机会是下载一个1.29 GB ISO的 Windows Server 2008和.NET Framework的Windows SDK 。我不能相信这是唯一的方法。

The appropriate tool seems to be mt.exe, as stated on SO. However the only chance I have found to get this little application is to download a 1.29 GB ISO of the Windows SDK for Windows Server 2008 and .NET Framework. I can not believe this is the only way to do it.

我还在互联网上发现了一个小应用程序,名为 PEView ,但它显示了太多(在我的情况下是无用的)信息,它不是一个命令行应用程序。

I have also found a little application on the Internet called PEView, but it displays too much (and useless in my case) information and it is not a command line application.

Cygwin中的标准 objdump 也可以转储有关DLL文件,但我看不到转储DLL版本的选项。请注意,MajorImageVersion,MinorImageVersion和此工具(与-p选项)转储的其他字段与自己的DLL版本无关。

Standard objdump bundled inside Cygwin can also dump some information about the DLL files, but I can not see the option to dump DLL version. Note that MajorImageVersion, MinorImageVersion and other fields dumped by this tool (with -p option) are not related to own DLL version.

有关做什么的任何替代方法?也许我错过了一些重要的objdump选项?是mt.exe我唯一的选择吗?如果是这样,是否可以从Windows SDK中单独获取它?

Any alternatives about what to do? Maybe I missed some important objdump option? Is mt.exe my only choice? If this is the case, is it possible to get it separately from Windows SDK?

推荐答案

您还可以查看filever.exe ,可以下载为 Windows XP SP2支持工具包 - 只有4.7MB的下载(或直接从此处)。

You can also look at filever.exe, which can be downloaded as part of the Windows XP SP2 Support Tools package - only 4.7MB of download (or directly from here).

这篇关于命令行工具转储Windows DLL版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆