title: Automating device driver search function
body: <p>The basic Windows "Update Driver" wizard allows the ability to point at a folder and perform a recursive search for the proper .INF file.  Would anyone know what allows this to called with VBS or CMD? </p>
  
  <p>I know that rundll32.exe setupapi.dll,InstallHinfSection can be used to automate a driver install but as far as I'm aware this requires pointing to a specific path and file.  </p>
  
  <p>I currently have a vbscript that uses WMI to scan for ConfigManagerErrorCode = 28 (Those in device manager that have status of "The drivers for this device are not installed").</p>
  
  <p>So essentially I'd like a way to tie those Code 28 devices to whatever function is being used in the "Update Driver" wizard. A sample code would be great but pointed in the right direction I'd at least have a start.  Much Thanks.</p>