Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening a mapped Windows Explorer folder using HTML hyperlink from Microsoft Edge

I'm trying to open mapped network folders from a simple LAN portal at work to get users to access shared files. Previously I used:

<a href = "file:///...">

This opens a Windows Explorer window in IE11 (and earlier) and a file browser tab in Chrome, but it has no effect when the hyperlink is clicked in Microsoft Edge. How can I give users folder access directly from Edge?

like image 737
Gerry Avatar asked Oct 16 '25 13:10

Gerry


2 Answers

IE has a lot of legacy support and so it would still be able to do this in IE11. It was possible for windows explorer and internet explorer to interchange and switch as needed long ago.

Edge ditches a lot of legacy support in exchange for speed. This is something that was probably removed (and not likely to be added on in the future)

like image 103
Thomas Kim Avatar answered Oct 18 '25 21:10

Thomas Kim


Edge requires mapped LAN locations to be specified in the UNC-format, while IE used to be more agnostic about it. For more information about UNC-paths check out this link.

<p><a href = "file:///P:\somenetworkfolder"> Some Network Folder (Only works in IE)</a></p>
<p><a href = "\\servername\path\somenetworkfolder"> Some Network Folder (Works in Edge and IE)</a></p>

Out of interest, if you want similar functionality in Chrome, you have to use an extension to grant the browser permission to open Windows Explorer. Check out the Local Explorer Chrome Extension, or write your own.

like image 33
Gerry Avatar answered Oct 18 '25 23:10

Gerry



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!