hyperlink in firefox to windows share

Posted by Eds on Stack Overflow See other posts from Stack Overflow or by Eds
Published on 2011-12-30T10:55:52Z Indexed on 2012/11/26 17:04 UTC
Read the original article Hit count: 206

I am having trouble creating a hyperlink to a windows share, that works correctly in firefox and IE9.

The original line was this:

<a href="\\10.1.3.33\sharename\filename.txt" target="_new">Link</a>

This works correctly in IE9, andopens the file as you would expect. However, this does not seem to work in firefox, as it just appends the above to the root directory, so it ends up looking in:

/\10.1.3.33/sharename/filename

I have tried as someone suggested and appending file:// to the pathname, but this does not seem to load anything in firefox, but does work in IE.

Can anyone advise on what I should be using the get a link to a network share working in all browsers?

Many thanks, Eds

© Stack Overflow or respective owner

Related posts about internet-explorer

Related posts about firefox