Avatar of vtk_blr
vtk_blr asked on

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.
Web DevelopmentWeb ServersWeb BrowsersWindows OS

Avatar of undefined
Last Comment
Steve Bink

8/22/2022 - Mon


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">
Dave Baldwin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Steve Bink

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.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck

I've requested that this question be closed as follows:

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

for the following reason:

Steve Bink