title: Batch file to check program installation
body: <p>I am trying to determine if some program has been installed and, if it has, open it. If the program has not been installed, an alternate program should open.</p>
  
  <p>For example, if Notepad++ has been installed, the script should open that; if not, Notepad should be opened instead.</p>
  
  <p>Any advice at all would be appreciated, as I have no idea where to begin.</p>