Sunday, October 18, 2015

IIS setting for open a url to access local drive or network UNC path

1. Add .url to the available MIME types in your web server.

Step 1: IIS open the site, choose MIME Types

image

Step 2: Click “Add”

image

Step 3: Add MIME Type

File name Extension= .url
MIME type: application/internet-shortcut

clip_image002

 

2. The .url file is a text file formatted as follows (again, this can be dynamically generated).

File Contents:

image

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>

image

 

 

Reference:

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

Print Friendly and PDF
Share/Bookmark

No comments:

Post a Comment