[程式設計]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
![Flash2u 在新視窗檢視]()
Step 2: Click 「Add」
![Flash2u 在新視窗檢視]()
Step 3: Add MIME Type
File name Extension= .url
MIME type: application/internet-shortcut
![Flash2u 在新視窗檢視]()
?
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:
![Flash2u 在新視窗檢視]()
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
![Flash2u 在新視窗檢視]()
?
?
Reference:
http://stackoverflow.com/questions/5246292/open-local-folder-from-link
想在手機查閱更多程式設計資訊?免費下載【香港矽谷】Android App
![Flash2u 在新視窗檢視]()
原文站台: Billy Fung
![Flash2u 在新視窗檢視]()
分享到Facebook
類型:
程式設計
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