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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

backslash gets converted to forward slash

Status
Not open for further replies.

Zoom1234

Programmer
Joined
Oct 30, 2003
Messages
116
Location
BE
Hi All,

I am trying to give a link in my html document to some document on LAN. Below is the example
Code:
<a href="\\pathtoLAN\somedocument.zip">click</a>

I found that on some PCs the backslash(\) gets converted to forward slash (/) and hence the link does not work properly.

Can someone tell me why is it so and how do I get the links worl properly (some workaround)
 
Have you tried putting a proper protocol specifier in place, e.g "file:\\\\pathtoLAN\somedocument.zip" ?

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top