Community
    • Login

    TXT document how to add clickable link to a local intranet network directory

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 2 Posters 9.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • minsikauM
      minsikau
      last edited by

      HI.

      Notepadd++7.3.1 long term basic user.
      Trying to add a clickable link to a local network location directory.

      ie its a normal text document “big.txt” named.
      inside there is a url link in text for instance to a network location
      ie \server\directory\subdirectory that I want to be able to make a clickable link to then open the location in an exploirer window. I have fried file:///// (yes 5 forward slashes and converted all spaces to %20 and all backslashes to forward slashes but cant get the correct recognition.

      Any ideas. thanks.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @minsikau
        last edited by

        @minsikau

        file://server/…file

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • minsikauM
          minsikau
          last edited by

          thanks for that re the file.
          I want to open the directory instead of the specific file and tried the same syntax but it doesnt seem to work.

          ie file://///server/directory/subdirectory
          tried “file://///server/directory/subdirectory” too.

          1 Reply Last reply Reply Quote 0
          • minsikauM
            minsikau
            last edited by minsikau

            Appears to work on home pc windows 10 64bit just fine but work laptop 32bit windows 7 doesnt.
            Will retry and see why a difference.
            thanks for good reply Claudia.

            exact url
            file://///ARCHER_VR600/volume(sda1)
            works on windows 10. will send file to work and try it there and see if it even attempts to open it.

            1 Reply Last reply Reply Quote 0
            • minsikauM
              minsikau
              last edited by

              thanks for the pointers. Nearly there.
              if the link looks like this
              file://\10.99.1.2\little nsw\
              it works in run/start area ie explorer but in Notepad++ the link k recognition stops at the first space. If I change that space to %20 the link extends across the whole address but then it doesnt open explorer.

              Any following ideas?

              1 Reply Last reply Reply Quote 0
              • minsikauM
                minsikau
                last edited by

                I think I have it sorted.
                Now i am using this which works by using the file:// followed by server IP address followed by folders but any space must be replaced with %20 otherwise Notepad++ doesnt recognise the whole as a link.
                ie
                file://serverIP/folder/folder%20name/

                Claudia FrankC 1 Reply Last reply Reply Quote 0
                • Claudia FrankC
                  Claudia Frank @minsikau
                  last edited by

                  @minsikau

                  that is url standard encoding. Spaces needs to be percent escaped.
                  See https://tools.ietf.org/html/rfc3986#page-12 for more information.

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors