What are the ways to make an html link open a folder

From: http://stackoverflow.com/questions/855614/what-are-the-ways-to-make-an-html-link-open-a-folder

Do you want to open a shared folder in Windows Explorer? You need to use a file: link, but there are caveats:

Internet Explorer will work if the link is a converted UNC path (file://server/share/folder/).

Firefox will work if the link is in its own mangled form using five slashes (file://///server/share/folder) and the user has disabled the security restriction on file: links in a page served over HTTP. Thankfully IE also accepts the mangled link form.

Opera, Safari and Chrome can not be convinced to open a file: link in a page served over HTTP.

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s