|
Overview
|
DUMPVER is a command-line tool that enables users to dump version-related data stored in Win32 modules or applications.
Type DUMPVER without any parameter for an help screen.
Running dumpver -a on notepad.exe gives the following:
D:\Dev\dumpver> dumpver.exe
DUMPVER v.1.2 (Jul 8 2006)
Prints module version information.
Syntax: DUMPVER [-?] [-v] [-p] [-c] [-a] [-x] module.exe [module.dll [*.exe [...]]]
-? : Print this message.
-v : Print version information (ProductVersion,FileVersion,PrivateBuild,SpecialBuild)
-p : Print product information (ProductName,FileDescription,InternalName,OriginalFilename,Comments)
-c : Print company information (CompanyName,LegalCopyright,LegalTrademarks)
-a : Print all informations.
-e : Skip empty entries.
-x : Output as XML. Default is plain text.
-s : Processes sub-directories too.
module.exe [...] : File(s) to process. Wildcards * and ? are welcome.
Last version available: http://debrock.org/dumpver/
Running dumpver -a -x on notepad.exe gives the following:
D:\Dev\dumpver> dumpver.exe -a %windir%\notepad.exe
D:\WINDOWS\notepad.exe
ProductVersion :5.1.2600.2180
FileVersion :5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
PrivateBuild :
SpecialBuild :
ProductName :Microsoft« Windows« Operating System
FileDescription :Notepad
InternalName :Notepad
OriginalFilename:NOTEPAD.EXE
Comments :
CompanyName :Microsoft Corporation
LegalCopyright :¬ Microsoft Corporation. All rights reserved.
LegalTrademarks :
D:\Dev\dumpver> dumpver.exe -a -x %windir%\notepad.exe
<dumpver>
<module file="D:\WINDOWS\notepad.exe">
<version-info name="ProductVersion" value="5.1.2600.2180" />
<version-info name="FileVersion" value="5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)" />
<version-info name="PrivateBuild" value="" />
<version-info name="SpecialBuild" value="" />
<version-info name="ProductName" value="Microsoft« Windows« Operating System" />
<version-info name="FileDescription" value="Notepad" />
<version-info name="InternalName" value="Notepad" />
<version-info name="OriginalFilename" value="NOTEPAD.EXE" />
<version-info name="Comments" value="" />
<version-info name="CompanyName" value="Microsoft Corporation" />
<version-info name="LegalCopyright" value="¬ Microsoft Corporation. All rights reserved." />
<version-info name="LegalTrademarks" value="" />
</module>
</dumpver>
|
|