Is there a Microsoft tool to get the assembly version of a DLL file from a command line?
(I know that I can code my own tool.)
Is there a Microsoft tool to get the assembly version of a DLL file from a command line?
(I know that I can code my own tool.)
File Version tool will help:
This is an area where PowerShell shines. If you don't already have it, install it. It's preinstalled with Windows 7.
Running this command line:
outputs this:
Note that LoadFrom returnes an assembly object, so you can do pretty much anything you like. No need to write a program.
If you use mono and linux, try this:
Adding some sugar to the other powershell-ish answers...
To get extended properties like 'FullName'
Wow this is bad considering things like old exploitable gdiplus.dll's floating around.
My solution is simple. batch file programming.
This puts an nfo file in the same dir with the version
You can GET filever.exe, which can be downloaded as part of the Windows XP SP2 Support Tools package - only 4.7MB of download.
adobe_air_version.bat
Variation.
Get all the versions in a directory to a text file.
There's also Sigcheck by systernals.
http://technet.microsoft.com/en-us/sysinternals/bb897441.aspx
In Powershell