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= .urlMIME type: application/internet-shortcut
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)
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:
<a href="Install.url">Installation source files</a>
Reference:
http://stackoverflow.com/questions/5246292/open-local-folder-from-link
No comments:
Post a Comment