• Login
Community
  • Login

Copy as path puts last file first in a pasted list

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 3 Posters 918 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.
  • M
    Michael Charney
    last edited by Aug 5, 2020, 1:47 PM

    I was wondering why (and how to not have this happen) Notepad++ puts the last file in a Copy as path first when you past in a list of files from a Windows Explorer.

    Eaxmple:

    File 1
    File 2
    File 3

    If I select all of the files, 1-3, and holding the shift key choose Copy as path and then past them into Notepad++ it will past them as follows:

    File 3
    File 1
    File 2

    Is there any way for this NOT to happen? Or a setting that can stop this?

    MC

    A A 2 Replies Last reply Aug 5, 2020, 2:01 PM Reply Quote 0
    • A
      Alan Kilborn @Michael Charney
      last edited by Alan Kilborn Aug 5, 2020, 2:02 PM Aug 5, 2020, 2:01 PM

      @Michael-Charney said in Copy as path puts last file first in a pasted list:

      …paste in a list of files from a Windows Explorer

      You’ve named the culprit.
      In case you don’t understand: Explorer puts the stuff in the clipboard.

      Pasting into Notepad++ has nothing to do with Notepad++. It just blindly receives whatever is there.

      You can always sort the lines in Notepad++ after the paste, but depending upon what you are doing, the sort may not give you the ordering you seek either.

      Is there any way for this NOT to happen? Or a setting that can stop this?

      Not really.
      Nope, not a Notepad++ setting.

      1 Reply Last reply Reply Quote 3
      • A
        astrosofista @Michael Charney
        last edited by Aug 5, 2020, 3:33 PM

        Hi @Michael-Charney

        Try to select all files in reverse order. For example, if I want to get the files ordered as 1-3, I select first the 3, then the 2 and finally the 1. These will be copied in Notepad++ in order 1-3.

        Tested and worked in my Windows 7.

        Take care.

        1 Reply Last reply Reply Quote 3
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors