PC Review


Reply
Thread Tools Rate Thread

Command line for checking DLL versions

 
 
Tim_S
Guest
Posts: n/a
 
      3rd Oct 2003
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?




 
Reply With Quote
 
 
 
 
Ritchie
Guest
Posts: n/a
 
      3rd Oct 2003
"Tim_S" <(E-Mail Removed)> wrote in message news:02cd01c389d8$8043bcd0$(E-Mail Removed)...
> 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/stewar...s/admtool2.zip

--
Ritchie, undo for mail


 
Reply With Quote
 
Bill Stewart
Guest
Posts: n/a
 
      4th Oct 2003
Tim_S <(E-Mail Removed)> wrote:

> 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


 
Reply With Quote
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      5th Oct 2003
Ritchie wrote:

> 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/stewar...s/admtool2.zip


Hi

an updated version exits in admtool3.zip:
http://mywebpages.comcast.net/stewar...s/admtool3.zip


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter


 
Reply With Quote
 
Tim_S
Guest
Posts: n/a
 
      6th Oct 2003
I found on another post someone had posted getver.exe which worked rather
nicely.
Thanks.


"Tim_S" <(E-Mail Removed)> wrote in message
news:02cd01c389d8$8043bcd0$(E-Mail Removed)...
> 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?
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line utility to list processes with the "command line that was used to start the process" flahmeshess Microsoft Windows 2000 5 12th Oct 2006 03:46 AM
Checking for new versions in a setup project HIK Microsoft VB .NET 7 10th Mar 2006 04:09 AM
Command line error D2016 : '/RTC1' and '/clr:initialappdomain' command-line options are incompatible Lars Grøtteland Microsoft Dot NET Framework 1 15th Oct 2003 10:35 AM
Command line error D2016 : '/RTC1' and '/clr:initialappdomain' command-line options are incompatible Lars Grøtteland Microsoft Dot NET 1 15th Oct 2003 10:35 AM
Command line error D2016 : '/RTC1' and '/clr:initialappdomain' command-line options are incompatible Lars Grøtteland Microsoft VC .NET 1 15th Oct 2003 10:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:02 PM.