0

On my mvc view I put a href which looks like this:

<a target="_blank" href = "file:///E:\Downloads">Open files dir</a>

But for some reason it gets converted to:

<a target="_self" href = "LocalExplorer:E:\Downloads">Open files dir</a>

and nothing works. What's that about and how can I open directory in browser (directory is accessible, if I try to do the same from the regular web page, not mvc, it works)

KorsaR
  • 454
  • 1
  • 7
  • 23
  • Sure this isn't a matter of a [chrome extension](https://chrome.google.com/webstore/detail/local-explorer-file-manag/eokekhgpaakbkfkmjjcbffibkencdfkl?hl=en-US) hijacking your links? `LocalExplorer` isn't the go-to protocol for local file access. – Brad Christie Apr 27 '15 at 15:11
  • @BradChristie, yes, I completely forgot about that extension. Now whn it's off, link stays the same, but still nothing happens. Direct link doesn't work at all, and javascript opens just blank page – KorsaR Apr 27 '15 at 15:19
  • @KorsaR http://stackoverflow.com/questions/2087894/can-google-chrome-open-local-links – Guillaume Apr 27 '15 at 15:27

0 Answers0