473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

UNC path hyperlink syntax

Hi,

This is off topic but since I develop with ASP.NET and I love you guys so
much... I would like to create a simple html link to a UNC path, but I can't
quite figure out the appropriate syntax. Simply putting <a
href="\\server\share"> keeps the website url in front.

Thanks.
Nov 18 '05 #1
4 18258
file:///
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"anony" <no**@m.com> wrote in message
news:jH*****************@twister.tampabay.rr.com.. .
Hi,

This is off topic but since I develop with ASP.NET and I love you guys so
much... I would like to create a simple html link to a UNC path, but I
can't quite figure out the appropriate syntax. Simply putting <a
href="\\server\share"> keeps the website url in front.

Thanks.

Nov 18 '05 #2
Thanks Curt. This works fine in IE, but not Firefox... any idea why?
Nothing happens when clicking on the link in Firefox. Here's the rendered
HTML:

<a href=file://///server/share name/path/"Curt_C [MVP]"
<software_AT_darkfalz.com> wrote in message
news:O8**************@TK2MSFTNGP11.phx.gbl...
file:///
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"anony" <no**@m.com> wrote in message
news:jH*****************@twister.tampabay.rr.com.. .
Hi,

This is off topic but since I develop with ASP.NET and I love you guys so
much... I would like to create a simple html link to a UNC path, but I
can't quite figure out the appropriate syntax. Simply putting <a
href="\\server\share"> keeps the website url in front.

Thanks.


Nov 18 '05 #3
Let's try that link again:

<a href="file://///webdomain/web sites/GSM/2004/press_releases"> link </a>
"anony" <no**@m.com> wrote in message
news:M_*****************@twister.tampabay.rr.com.. .
Thanks Curt. This works fine in IE, but not Firefox... any idea why?
Nothing happens when clicking on the link in Firefox. Here's the rendered
HTML:

<a href=file://///server/share name/path/"Curt_C [MVP]"
<software_AT_darkfalz.com> wrote in message
news:O8**************@TK2MSFTNGP11.phx.gbl...
file:///
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"anony" <no**@m.com> wrote in message
news:jH*****************@twister.tampabay.rr.com.. .
Hi,

This is off topic but since I develop with ASP.NET and I love you guys
so much... I would like to create a simple html link to a UNC path, but
I can't quite figure out the appropriate syntax. Simply putting <a
href="\\server\share"> keeps the website url in front.

Thanks.



Nov 18 '05 #4
too many //

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"anony" <no**@m.com> wrote in message
news:M_*****************@twister.tampabay.rr.com.. .
Thanks Curt. This works fine in IE, but not Firefox... any idea why?
Nothing happens when clicking on the link in Firefox. Here's the rendered
HTML:

<a href=file://///server/share name/path/"Curt_C [MVP]"
<software_AT_darkfalz.com> wrote in message
news:O8**************@TK2MSFTNGP11.phx.gbl...
file:///
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"anony" <no**@m.com> wrote in message
news:jH*****************@twister.tampabay.rr.com.. .
Hi,

This is off topic but since I develop with ASP.NET and I love you guys
so much... I would like to create a simple html link to a UNC path, but
I can't quite figure out the appropriate syntax. Simply putting <a
href="\\server\share"> keeps the website url in front.

Thanks.



Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: MrMike | last post by:
I have an ASP.NET web form that I'm developing, and I'm running into a problem with my below code. Business rules aside, is there anything noticably wrong with this syntax? This syntax is being...
3
by: Kumar | last post by:
Hi Folks, I have a question regarding conditional hyperlink in datagrid. I want to display Hyperlink if my QID values in (1,4,5,6) other wise i want to display just Qdescription with out...
1
by: Amil | last post by:
I have a page with a hyperlink (actually in a datalist). I want the URL to do a postback essentially. I tried to use Page.Request in the NavigateUrl, but it's always empty? How do I tell it to...
5
by: Martin Dew | last post by:
Having some problems getting a hyperlink object to work in my repeater control, It displays the text I have asked it to for the hyperlink, but it does not act as a link. My repeater code is below...
4
by: Tomek R. | last post by:
Hello ! This post does'nt regard column hyperlink. I just have single hyperlink and want to create it's NavigateUrl dynamically. This is my test page <form id="Form1" method="post"...
2
by: Casey | last post by:
Hi! I'm making a webpage where it will list all the printers in their area, with the UNC path to the printer. It would be like: \\someserver\aprinter The only problem is, if I type that path...
7
by: ashtek | last post by:
I have an <ASP:HYPERLINKon a datagrid (templatecolumn) and I need to open a new window with no toolbar and specific height & width onclick of the link. I also want to pass the PK to this new...
6
by: John Kotuby | last post by:
Hi all.. In a VS2005 ASP.NET 2.0 website application I am using a regular HTML anchor (actually a number of them) in a page that produces Excel output because a server control is really not...
1
by: sales | last post by:
Sorry, a real simple question and maybe one not for this group. Have just tried a php pagination tutorial which works fine. The line that produces the "Previous" hyperlink is as below and this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.