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 10.9k Views 2 Watching
    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 Offline
      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 Offline
        Claudia Frank @minsikau
        last edited by

        @minsikau

        file://server/…file

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • minsikauM Offline
          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 Offline
            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 Offline
              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 Offline
                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 Offline
                  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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors