Home » SQL Server (Page 59)
Category Archives: SQL Server
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