Hi,
i wondered if there was anything (tool/code) available to obtain information from an .inf driver file.
I tried to create a vbs script that retrieved information like the vendor, the device name, the windows version and so on from inf files. But as far as i can see there is no real structure in the inf files. Each vendor has his own method of building them.
Is there a windows function i could call to retrieve this information, as windows has to import the information from the file.
Something like getVendorname from inf ==> Intel
or
getdevices from inf ==> 14F1,"Conexant HDA D330 MDC V.92 Modem"
Software/Hardware used:
ASKED:
April 10, 2008 1:33 PM
UPDATED:
April 5, 2009 6:15 AM
Scatman,
Is there a reason you need to specifically get the information from the INF file itself or do you know that’s a location that contains the information you need.
You can gather a great deal of detail from a system about hardware installed, drivers used and other stuff via Windows Management Interface or WMI. If you can share a bit more information on what you need I’d be happy to either point you in the right direction or write a blog entry specifically on your example.
Be sure and check out my blog here on ITKE for more Network administration and VBSCRIPT tips.
The VBScript Network and Systems Administrator’s Cafe