Links with spaces in folder name...
-
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!
-
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
Once again, this is actually a URI question, not anything that’s Notepad++ specific.