Community
    • Login

    Links with spaces in folder name...

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 370 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.
    • Bob HaikouB
      Bob Haikou
      last edited by

      Sometimes I have in a text file, a link to a file on my computer with spaces in the folder or file name, like this:

      file:///G:/travel in 2023/TRIP TO BLACK STOOL.NPS

      Even with “file:///G:/travel in 2023/TRIP TO BLACK STOOL.NPS”, notepad++ does not see it as a link.

      Notepad works fine if the link has no spaces.

      Any suggestions?

      Many thanks again!

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Bob Haikou
        last edited by

        @Bob-Haikou ,

        URIs with spaces in them are supposed to be URL-encoded. Try file:///G:/travel%20in%202023/TRIP%20TO%20BLACK%20STOOL.NPS

        See the Wikipedia article on File URI Scheme .

        Notepad++ correctly recognizes the following standards-compliant file-URI as a link:

        file:///c:/program%20files/notepad++/change.log
        

        d3ddb420-fd3f-4d21-bdd8-817b6575191f-image.png

        Once again, this is actually a URI question, not anything that’s Notepad++ specific.

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