File link problem with space character
-
Hi all,
Seeing an equivalent space character “problem” within Windows Command Prompt for some commands and within Command Prompt this is overcome by quotation (“”), I believe the same “problem” can be seen within Notepad++, like it was inherited from Windows.
Namely, a file link like (mine): J:\plaatjes\h_c9\help_indicator_arrows.png could be changed to [file:///J:\plaatjes\h_c9\help_indicator_arrows.png](link url) (or: [file:///J:/plaatjes/h_c9/help_indicator_arrows.png](link url)) and thus become a real file link from within Notepad++.
But there is a problem while trying to convert a file link with space character(s) within its name, like:
J:\plaatjes\h_c9\handwritingsystemtoasticon.contrast-white (2).png. After conversion, only a part of this link would become a real file link, and here this would be:
[file:///J:\plaatjes\h_c9\handwritingsystemtoasticon.contrast-white](link url) (2).png, so ending at the space character. And that is to no avail, of course.At last, I also have tried the use of quotation, so: “[file:///J:\plaatjes\h_c9\handwritingsystemtoasticon.contrast-white (2).png](link url)”, but, as we see, the quotes are not picked up as part of the conversion by Notepad++.
How to overcome the problem? Maybe this could be seen as a feature request for Notepad++ as well?
Thanks.
Jack Brouwer
-
It is a deficiency, one that is usually solved by replacing space characters with
%20
, but that doesn’t work in Notepad++ either.Instructions are HERE for making a feature request.
-
A feature request can be found on GitHub now:
-
There’s the possibility to script a solution to such a problem; for ideas on that, see this related CONCEPT.
-