Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    File link problem with space character

    Help wanted · · · – – – · · ·
    2
    4
    169
    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. Brouwer
      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 Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        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. Brouwer
          J. Brouwer last edited by

          A feature request can be found on GitHub now:

          issue#12142

          1 Reply Last reply Reply Quote 0
          • Alan Kilborn
            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
            • Referenced by  Alan Kilborn Alan Kilborn 
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors