Open folder from local system via html link

Hi Experts,

I have designed a basic webpage using html. It is saved in the client's shared area on our production floor. I need to open a folder via link from one of the pages. The required folder is in the local system say 'C:\dir\folder' and the webpage resides in the shared area. How should I need to point the folder from shared area to local system. From google I've tried
<A HREF="file://///Computer_name/Shared_Drive_name/Path/Filename.odt" TARGET="_blank">link to a file</A> with not much luck. I'm able to open objects from local system to client's shared area but the reverse is not happening. The folder which is need to open is in 'C' drive, I've tried something like this: <A HREF="file://///Computer_name//C:/dir/folder" TARGET="_blank">link to a file</A> which is not working.

Do you any other options/suggestions. Greatly appreciated.

We use IE7.

Thanks in advance.
vtk_blrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vtk_blrAuthor Commented:
Thanks
0
GaryCommented:
Are all those slashes intentional? Should only be 2
So this is the correct format
<A HREF="file://Computer_name/Shared_Drive_name/Path/Filename.odt" TARGET="_blank">
0
Dave BaldwinFixer of ProblemsCommented:
You are most likely blocked by browser security restrictions, even in IE7.  In general, web pages loaded from a remote system are not allowed to load local files.  They are also generally prevented from loading files on remote systems with the 'file://' protocol.  

To load remote files, they either need to be in the 'web server' directories to be loaded by a browser or you need to use something like Windows Explorer that runs under a logged in user that has permissions to access the files.  Any files 'opened' with a web browser are going to be 'read only' and not editable.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Steve BinkCommented:
I concur with DaveBaldwin.  You're fighting an uphill battle against more than a decade of browser security evolution.  I think your best, and possibly only option, is to craft an extension or add-on to introduce this capability.  I would be hesitant to even recommend that, since you would essentially be coding a piece of malware.
0
vtk_blrAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for vtk_blr's comment #a39490924

for the following reason:

Ok
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.