Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Get a List of All the .dll Files in a Folder. Along with Their Version NumbersContent of Get a List of All the .dll Files in a Folder. Along with Their Version Numbers.jsMD5 Hash: 728D70A65C5EDB611AD31822517E1AD2 |
||
strcomputer = ".";
var objwmiservice = GetObject("winmgmts:\\\\" + strcomputer + "\\root\\cimv2"); var colfilelist = objwmiservice.execquery ("associators of {win32_directory.name='c:\\windows\\system32'} where " + "resultclass = cim_datafile"); var myJS_Enumerator_1 = new Enumerator(colfilelist); for (;!myJS_Enumerator_1.atEnd();myJS_Enumerator_1.moveNext()) { objfile = myJS_Enumerator_1.item(); if (objfile.extension == "dll") { WScript.Echo(objfile.name + " -- " + objfile.version); } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |