views:

362

answers:

1

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?

+2  A: 

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.

Oh, thank you for the link to GetFileVersion, that's a good start.
seisyll
The first link is broken - clicking goes to second link's target.
Thelema