![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Get a List of All the .dll Files in a Folder. Along with Their Version Numbers
|
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colFileList = objWMIService.ExecQuery _ ("ASSOCIATORS OF {Win32_Directory.Name='C:\Windows\System32'} Where " _ & "ResultClass = CIM_DataFile") For Each objFile In colFileList If objFile.Extension = "dll" Then Wscript.Echo objFile.Name & " -- " & objFile.Version End If Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |