title: Installing a .inf file using a windows batch file
body: <p>When you right click on a .inf file you have an option to "Install". I want to install a .inf file from the command line using a batch file. What is the "right" way to do this?</p>
  
  <p>Thanks!</p>
  
  <p>[edit]
  I should clarify that I am trying to run this on Windows XP (and not Vista). Though I appriciate (and up-voted) the below answer mentioning InfDefaultInstall.exe, I believe that program was not shipped with XP.</p>