Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hyperlinking to local file

Status
Not open for further replies.

mikemardon

Programmer
May 23, 2005
71
GB
Hi there

I have created a hyperlink in dreamweaver :

<a href = "file://c:/temp/" target="_blank">view temp folder </a>

...which works just fine, but when I paste the code into an aspx page it does not do anything when clicked.

Can anyone tell me if this method has been blocked from use?

Thanks!
 
Nope, it hasn't been blocked from use (although the syntax may differ between browsers, opening folders may not be allowed and how would you even know that file exists on your clients machine if it was pointed at a file?).


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
It is for an intranet site for a legal firm - it would be nice to have access to certain folders on the file server from the intranet!

ie. they all have U: mapped to the main data store so I would like to have ie6 open the folder in a blank window so they can navigate.

Hope this makes sense
 
Try using this format then:
Code:
<a href="file://///servername/foldername/">test</a>



____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top