Community
    • Login

    File link problem with space character

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 941 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.
    • J. BrouwerJ
      J. Brouwer
      last edited by

      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

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @J. Brouwer
        last edited by

        @J-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.

        1 Reply Last reply Reply Quote 0
        • J. BrouwerJ
          J. Brouwer
          last edited by

          A feature request can be found on GitHub now:

          issue#12142

          1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn
            last edited by

            There’s the possibility to script a solution to such a problem; for ideas on that, see this related CONCEPT.

            1 Reply Last reply Reply Quote 1
            • Alan KilbornA Alan Kilborn referenced this topic on
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors