• Login
Community
  • Login

Links with spaces in folder name...

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 400 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.
  • B
    Bob Haikou
    last edited by Sep 26, 2023, 7:24 PM

    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!

    P 1 Reply Last reply Sep 26, 2023, 7:48 PM Reply Quote 0
    • P
      PeterJones @Bob Haikou
      last edited by Sep 26, 2023, 7:48 PM

      @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
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors