title: Detecting if a program is installed and where using cmd.exe
body: <p>Windows has the program start.exe which somehow knows how to open programs by their lay-name like "firefox"</p>
  
  <p>Typing <code>start firefox</code> into cmd.exe opens firefox assuming its installed.
  Is there a similar command to start that will return the file path rather than starting the application?</p>
  
  <p>Also open to any similar but proper solution</p>
  
  <p>UPDATE:
  Other answers suggest using <code>where</code> command, and this works for programs like ping which are in the system directories, but does not find firefox like <code>start</code> does.</p>