Forum Moderators: open
file:///C:/somedir/somesubdir/filename.html
Just link to
filename.html (if it's in the same directory)
or
somesubdir/filename.html (if it's a directory deeper)
or
../filename.html (if it's a directory higher)
BUT it does'nt work! :( Thats why I posted here :P
I have no problem linking to the hard drive from hard drive, the problem is linking from a website to hard drive.
I can even link from a site to a hard drive on previous OS's and browsers but with IE6 and win2k its a no go.
I'm thinking its more of a security issue or some setting.
Has anyone tried hosting a page on the web and linking to thier drive?
Because different people have different directory structures and drive letters, I can't see how doing this would ever be useful...
Hey let's try this now:
[url=file:///C:/]c drive[/url]
Darn, WW doesn't allow non-http links...
I'm basically doing an extension of our intranet so everyones machine is going to be set up in exactly the same way.
As for file:///c: etc I have tried every combination I can think of in a standalone test page - no frames,CSS - just plain HTML and still doesnt work. I do have a c: drive and the the link works fine locally and on other machines just not win2Kpro/IE6 :(
check out MSDN for more info.
You may ultimately have to change to using an .hta page to get around the security restrictions for all users. With an hta, the user, in essence, gives permission on pageload for the site to access local files.