title: Cross-browser link to file on local system
body: <p>I would like to make a link from a web page to a file on a local filesystem and make it work in all browsers (or at least in Internet Explorer, Firefox and Chrome).</p>
  
  <p>For example, the following works in Internet Explorer:</p>
  
  <pre><code>&lt;a href="\\myserver\doc\info.pdf"&gt;Info here&lt;/a&gt;
  </code></pre>
  
  <p>but not in Firefox and Chrome.</p>
  
  <p>Is there a way to make a link that works in all browsers? </p>
  
  <p>Or a way to use javascript to detect which browser it is and then display the appropriate link based on the filename?</p>