Quantcast
Channel: 神魂顛倒論壇-Flash--Front-end網頁前端討論最新50篇論壇主題-全文
Viewing all articles
Browse latest Browse all 735

[程式設計]IIS setting for open a url to access local drive or network UNC path

$
0
0
[程式設計]IIS setting for open a url to access local drive or network UNC path

類型:
程式設計

http://www.hksilicon.com/kb/articles/915243/1. Add .url to the available MIME types in your web server.

Step 1: IIS open the site, choose MIME Types



在新視窗檢視



Step 2: Click 「Add」



在新視窗檢視



Step 3: Add MIME Type

File name Extension= .url

MIME type: application/internet-shortcut

在新視窗檢視



?

http://www.hksilicon.com/kb/articles/915243/2. The .url file is a text file formatted as follows (again, this can be dynamically generated).

File Contents:





在新視窗檢視



And save this file to .url (e.g. install.url)

?

http://www.hksilicon.com/kb/articles/915243/3. Provide a link to the script that generates the .url file, or to the file itself.

If you"ve simply uploaded a .url file to your server, add the following to your HTML:

Install.url[/b]]Installation source files



在新視窗檢視



?

?

Reference:

http://stackoverflow.com/questions/5246292/open-local-folder-from-link

想在手機查閱更多程式設計資訊?免費下載【香港矽谷】Android App

在新視窗檢視







原文站台: Billy Fung











在新視窗檢視

分享到Facebook


Viewing all articles
Browse latest Browse all 735

Trending Articles