UNC path hyperlink syntax

Discussion in 'ASP .Net' started by anony, Aug 30, 2004.

  1. anony

    anony Guest

    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.
    anony, Aug 30, 2004
    #1
    1. Advertising

  2. anony

    Curt_C [MVP] Guest

    file:///


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


    "anony" <> wrote in message
    news:jHJYc.9554$%...
    > 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], Aug 30, 2004
    #2
    1. Advertising

  3. anony

    anony Guest

    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:...
    > file:///
    >
    >
    > --
    > Curt Christianson
    > Owner/Lead Developer, DF-Software
    > Site: http://www.Darkfalz.com
    > Blog: http://blog.Darkfalz.com
    >
    >
    > "anony" <> wrote in message
    > news:jHJYc.9554$%...
    >> 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.
    >>

    >
    >
    >
    anony, Aug 30, 2004
    #3
  4. anony

    anony Guest

    Let's try that link again:

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


    "anony" <> wrote in message
    news:M_JYc.9685$%...
    > 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:...
    >> file:///
    >>
    >>
    >> --
    >> Curt Christianson
    >> Owner/Lead Developer, DF-Software
    >> Site: http://www.Darkfalz.com
    >> Blog: http://blog.Darkfalz.com
    >>
    >>
    >> "anony" <> wrote in message
    >> news:jHJYc.9554$%...
    >>> 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.
    >>>

    >>
    >>
    >>

    >
    >
    >
    anony, Aug 30, 2004
    #4
  5. anony

    Curt_C [MVP] Guest

    too many //

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


    "anony" <> wrote in message
    news:M_JYc.9685$%...
    > 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:...
    >> file:///
    >>
    >>
    >> --
    >> Curt Christianson
    >> Owner/Lead Developer, DF-Software
    >> Site: http://www.Darkfalz.com
    >> Blog: http://blog.Darkfalz.com
    >>
    >>
    >> "anony" <> wrote in message
    >> news:jHJYc.9554$%...
    >>> 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], Aug 30, 2004
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Joseph
    Replies:
    5
    Views:
    4,330
    Joe Smith
    Aug 13, 2004
  2. =?Utf-8?B?RGVhbiBNY0NhcnRlbg==?=

    Retrieving UNC Path of Mapped Drives on Client Machine

    =?Utf-8?B?RGVhbiBNY0NhcnRlbg==?=, Apr 30, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    5,576
    =?Utf-8?B?RGVhbiBNY0NhcnRlbg==?=
    May 20, 2004
  3. George Nevsky
    Replies:
    1
    Views:
    2,818
    Natty Gur
    May 16, 2004
  4. ksr
    Replies:
    5
    Views:
    7,824
    jcadow
    Feb 15, 2011
  5. =?Utf-8?B?Q2FzZXk=?=

    Formatting Hyperlink to UNC path (Printer)

    =?Utf-8?B?Q2FzZXk=?=, Nov 2, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    486
    =?Utf-8?B?Q2FzZXk=?=
    Nov 3, 2006
Loading...

Share This Page