Connect with Expertise | Find Experts, Get Answers, Share Insights

UNC path hyperlink syntax

anony
 
Posts: n/a
#1: Nov 18 '05
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.



Curt_C [MVP]
 
Posts: n/a
#2: Nov 18 '05

re: UNC path hyperlink syntax


file:///


--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"anony" <nosp@m.com> wrote in message
news:jHJYc.9554$%D6.2301@twister.tampabay.rr.com.. .[color=blue]
> 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.
>[/color]


anony
 
Posts: n/a
#3: Nov 18 '05

re: UNC path hyperlink syntax


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:O8MJymrjEHA.2340@TK2MSFTNGP11.phx.gbl...[color=blue]
> file:///
>
>
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "anony" <nosp@m.com> wrote in message
> news:jHJYc.9554$%D6.2301@twister.tampabay.rr.com.. .[color=green]
>> 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.
>>[/color]
>
>
>[/color]


anony
 
Posts: n/a
#4: Nov 18 '05

re: UNC path hyperlink syntax


Let's try that link again:

<a href="file://///webdomain/web sites/GSM/2004/press_releases"> link </a>


"anony" <nosp@m.com> wrote in message
news:M_JYc.9685$%D6.9243@twister.tampabay.rr.com.. .[color=blue]
> 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:O8MJymrjEHA.2340@TK2MSFTNGP11.phx.gbl...[color=green]
>> file:///
>>
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "anony" <nosp@m.com> wrote in message
>> news:jHJYc.9554$%D6.2301@twister.tampabay.rr.com.. .[color=darkred]
>>> 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.
>>>[/color]
>>
>>
>>[/color]
>
>
>[/color]


Curt_C [MVP]
 
Posts: n/a
#5: Nov 18 '05

re: UNC path hyperlink syntax


too many //

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"anony" <nosp@m.com> wrote in message
news:M_JYc.9685$%D6.9243@twister.tampabay.rr.com.. .[color=blue]
> 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:O8MJymrjEHA.2340@TK2MSFTNGP11.phx.gbl...[color=green]
>> file:///
>>
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "anony" <nosp@m.com> wrote in message
>> news:jHJYc.9554$%D6.2301@twister.tampabay.rr.com.. .[color=darkred]
>>> 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.
>>>[/color]
>>
>>
>>[/color]
>
>[/color]


Closed Thread