如何获取DLL或EXE的文件描述 [英] How to get the File Description of a DLL or EXE

查看:452
本文介绍了如何获取DLL或EXE的文件描述的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个程序,其中包括控制服务。我试图列出服务类似于它们在 msconfig (下面的第一个窗口)中列出的方式。

I am creating a program that among other things is going to control Services. I am attempting to list the Services similar to the way they are listed in msconfig (the first window below).

我发现服务在注册表中列出。在Vista和Win7中,DisplayName和Description通常是引用。例如 @%SystemRoot%\system32\aelupsvc.dll,-1 是服务的DisplayName数据应用程序体验。在Win7中有一个存储这些引用的位置,使得容易获得正确的DisplayName。但在Vista中我没有找到一个地方在注册表中存储此信息。所以我查看被引用的文件,发现文件属性的 Details 选项卡上的文件描述足够。

I found where the services are listed in the registry. In Vista and Win7 the DisplayName and Description are often references. For example @%SystemRoot%\system32\aelupsvc.dll,-1 is the DisplayName data for the Service Application Experience. In Win7 there is a location where these references are stored making it easy to get the correct DisplayName. But in Vista I did not find a place in the Registry where this information is stored. So I looked at the file being referenced and found that the File Description on the Details tab of the files properties would be sufficient.

那么如何获得文件描述?我使用Java,所以我更喜欢使用Java或命令行顶部获得这个信息。

So how can I get the File Description? I am using Java, so I prefer using Java or the Command Line top get this information.

推荐答案

版本号在

所以我想这个主题可能会有所帮助:

so I guess this thread could be helpful:

获取.exe的版本信息

这篇关于如何获取DLL或EXE的文件描述的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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