Command line for checking DLL versions

  • Thread starter Thread starter Tim_S
  • Start date Start date
T

Tim_S

I am looking for a command line tool that can check the
version level of .dll files. Such as c:\program
files\common files\microsoft shared\vba\vbe6.dll

Right clicking on this file shows under version tab,
6.4.99.69

I need to extract this number in a batch file.

Any clues?
 
Tim_S said:
I am looking for a command line tool that can check the
version level of .dll files. Such as c:\program
files\common files\microsoft shared\vba\vbe6.dll

Parse the output of filever.exe using the FOR /F command. Post again
if you get stuck.

Filever.exe is part of the resource kit, but you'll also find it
on your Win2000 CD in \SUPPORT\TOOLS\SUPPORT.CAB. Either extract it
or run SETUP.EXE.

Bill also has his own version:-
http://mywebpages.comcast.net/stewartb/files/admtool2.zip
 
Tim_S said:
I am looking for a command line tool that can check the version level of
.dll files. Such as c:\program files\common files\microsoft
shared\vba\vbe6.dll

Right clicking on this file shows under version tab, 6.4.99.69

I need to extract this number in a batch file.

As Ritchie said, you can parse output of filever.exe.

You can also use my fver.exe to return an ERRORLEVEL based on if a file is
at least a particular version:

http://home.comcast.net/~stewartb/wast.html
 
I found on another post someone had posted getver.exe which worked rather
nicely.
Thanks.
 
Back
Top