views:

43

answers:

3

How i will open the following link

<a href=file:///blablabla/folder>Open folder</a>

It is not opening on clicking the anchor.

I mean to say that if we want to access shared folder. Like from \192.168.10.1\XYZ, then.

A: 

Are you specifying an absolute path? For example, the following will work fine in Windows:

<a href="file:///C:\MyFolder">Open folder</a>

Note also that you missed the quotes around the folder path.

Konamiman
I am sorry, i mean to say that if we want to access shared folder. Like from \\192.168.10.1\XYZ, then.
Devi
A: 

The file:

<a href=file:///tmp>Open folder</a>

works fine for me under Ubuntu 9.10 in Firefox 3.5.5 as does:

<a href="file:///tmp">Open folder</a>

which is probably better. I suspect you may be having another issue. If you're doing this on a Windows server, you may need the drive letter as well.

paxdiablo
A: 
Scott
Devi
and one more thing is, i have given the target as "_blank" for opening it in new tab. The href is correct but on clicking it is not opening in FF but opening in IE.
Devi