title: Command line tool to dump Windows DLL version?
body: <p>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).</p>
  
  <p>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).</p>
  
  <p>The appropriate tool seems to be <a href="http://msdn.microsoft.com/en-us/library/aa375649.aspx" rel="noreferrer">mt.exe</a>, as <a href="https://stackoverflow.com/questions/420852/reading-an-applications-manifest-file">stated on SO</a>. However the only chance I have found to get this little application is to download a 1.29 GB ISO of the <a href="http://www.microsoft.com/downloads/thankyou.aspx?familyId=f26b1aa4-741a-433a-9be5-fa919850bdbf&amp;displayLang=en" rel="noreferrer">Windows SDK for Windows Server 2008 and .NET Framework</a>. I can not believe this is the only way to do it.</p>
  
  <p>I have also found a little application on the Internet called <a href="http://www.magma.ca/~wjr/" rel="noreferrer">PEView</a>, but it displays too much (and useless in my case) information and it is not a command line application.</p>
  
  <p>Standard <a href="http://en.wikipedia.org/wiki/Objdump" rel="noreferrer">objdump</a> 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.</p>
  
  <p>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?</p>