开发者

chrome and firefox browser fails to launch windows folder from link

I have a link that directs to a windows folder by its directory link. I开发者_如何学运维t works for internet explorer, but it doesn't work for chrome or firefox. How do i fix this?

my link goes something like this

<a href="\\directory\folder1\folder2">Click Here</a>

It works in internet explorer but it doesnt work for chrome? and it doesn't work in firefox either?


I wouldn't be surprised if Chrome, being as sandboxed as it is, lacks the permissions to launch an external program. I don't use Firefox, but it wouldn't shock me at all if it was designed the same way.


try

<a href="file:///c:/directory/folder1/folder2" target="_new" >Click here</a>

also is this only being used by you because the chances of us both having the same folder structure is slim to none.


As much as I know, MSIE is tightly connected with the windows explorer, so when you click a link to the folder, it goes to that folder. Also, when you type a link in the explorer window, it automatically redirects you to the required site by using MSIE. While in Mozilla Firefox you need to specify that this is a local folder. As much as I know, you have to use the "file:///" prefix for that

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜