I have an html file with links like that :
<a href="N:\folder1\folder2">folder name</a>
I would like that this link opens explorer instead of a custome chrome file html based browser. This works from IE btw.
Thank you ! Nicolas.
Chrome new tabEnter file:///C:/Windows/explorer.exe into the Chrome address bar. A save dialog will open. Right-click any folder and select Open in new window. Navigate to the folder you want.
HTML can be used to open a folder from our local storage. In order to open a folder from our local storage, use 'HREF' attribute of HTML. In the HREF attribute, we specify the path of our folder.
For security reasons, Microsoft Edge 76+ and Chrome impose a number of restrictions on file:// URLs, including forbidding navigation to file:// URLs from non-file:// URLs. If a browser user clicks on a file:// link on an https-delivered webpage, nothing visibly happens.
For Chrome
, Safari
and Opera
this isn't possible due to their security model. However, there is somewhat of a solution for Chrome
in that it's possible but it has two requirements:
https://
You will probably encounter the same problem for Firefox
since it usually requires LocalLink
.
Further reading
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With