15 pts.
 Getting information from Inf driver file
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

Answer Wiki:
<a href="http://www.freewarebb.com/3DP-Chip-v904-file6506.html">This tool </a>show relevant information on device drivers, you might try it.
Last Wiki Answer Submitted:  April 5, 2009  6:15 am  by  alessandro.panzetta   9,660 pts.
All Answer Wiki Contributors:  alessandro.panzetta   9,660 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 5,320 pts.