Retrieving DLL Metadata from VBScript?
Question
Using only VBScript (launched from Windows Scripting Host) can I pull the DLL metadata from kernel32.dll? Specifically, I'm looking for the version info and the architecture specified in the DLL header. Can this be done without any dependencies?
Solution
If you're just looking for the version, you can use the FileSystemObject
.
If you're looking for other thing pieces of info besides FileVersion, there's some pre-written code here.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow