Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get Drivers ¿?

Status
Not open for further replies.

RockJona

Programmer
Nov 14, 2008
7
AR
Hi all,

Well, I'm trying to find the vbscript to get a list of my drivers isntalled in my computer, if someone knows something please let me know!! thx to all!
 
WMI really doesn't provide much of an interface to Device Manager. You could always write some VBScript to use DEVCON.EXE to gather the information for you using the driverfiles switch?
 
ok thx so much, I'll check all this data, and I will let you know if a found something!! bye
 
>To get all the drive letters

Er, the original post referred to drivers, not drives ... guess it would be good for the OP just to clarify
 
stonggm you are correct, sorry I'm from argentina, my english somethime is not as good as it use to be :p, but as you said is DRIVERS not DRIVES...
I'm still lost with this, I can't find the corrct way to get them! :(
 
Start by getting devcon.exe if you don't already have it. Next work with devcon.exe to understand what it can do. Then look at the .Run method of the WshShell object to run devcon.exe with whatever command line parameters you decide you need.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top