Home » SQL Server » VBS Script to Check DLL Version

VBS Script to Check DLL Version


Set fso = CreateObject(“Scripting.FileSystemObject”)

Set objShell = CreateObject(“Shell.Application”)

Set f = fso.GetFolder(“c:\windows\system32”) ‘change directory name

Set fc = f.Files

For Each fs In fc

If fso.GetExtensionName(fs) = “dll” then

WScript.Echo fs.Name, fs.DateLastModified, fso.GetFileVersion(fs)

End if

Next

Save script with a vbs extension and run from the command line as cscript scriptname.vbs

Advertisements

6 Comments

  1. Homepage says:

    hello very good internet site i will definaely come back and see once again. 212909

  2. Ernie Ganong says:

    I truly liked your post. Many thanks Again. Cool.

  3. Hello very nice site!! Guy .. Beautiful .. Amazing .. I will bookmark your site and take the feeds additionally¡KI am satisfied to find a lot of helpful info here within the post, we need develop more strategies in this regard, thank you for sharing. . . . . .

  4. Hi! This post could not be written any better! Reading through this post reminds me of my previous room mate! He always kept chatting about this. I will forward this article to him. Fairly certain he will have a good read. Many thanks for sharing!

  5. We’re a group of volunteers and opening a new scheme in our community. Your site offered us with valuable information to work on. You have done an impressive job and our whole community will be thankful to you.

  6. I’ve recently started a web site, the information you offer on this website has helped me tremendously. Thanks for all of your time & work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: