title: Changing file association via bat (specifically xml to chrome)
body: <p>I've got a bat file that I pieced together to change .xml's default program to Chrome</p>
  
  <pre><code>ftype doc.Document="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
  assoc .xml=doc.Document
  </code></pre>
  
  <p>It appears to work.  When I check its associated program via the Set Associations interface it is correct.  However, when I try to open an xml, it simply launches chrome as if I had opened a new instance of chrome and does not open the xml.</p>
  
  <p>At this point, if I manually change the associations via the Set Associations page to some other program and then back to Chrome again, it remains broken (launches a new instance of chrome) instead of behaving as if I had originally just used this interface (where it would open the xml in tabbed plain text).</p>
  
  <p>So I guess my question is what is my bat missing?  If my bat isn't missing anything, then what can I do to return to the expected functionality?</p>