• Login
Community
  • Login

Concatinate files

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 212 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.
  • R
    Robert Or Janet Diebel
    last edited by Apr 1, 2025, 4:52 PM

    I wish to load a bunch of files, and concatenate them into one.
    how do I do that?

    P 1 Reply Last reply Apr 1, 2025, 4:59 PM Reply Quote 0
    • P
      PeterJones @Robert Or Janet Diebel
      last edited by PeterJones Apr 1, 2025, 5:00 PM Apr 1, 2025, 4:59 PM

      @Robert-Or-Janet-Diebel ,

      You could open the files, and copy from one to another manually.

      Notepad++ does not have a built-in way to automate that task, probably because the command-line equivalent is so dead simple (in cmd.exe, type a b c > output ; I am sure that the powershell is equally doable but highly more wordy) that the author didn’t think anyone would bother trying to do it inside Notepad++, as there would be no real benefit that Notepad++ could bring to the process.

      If you absolutely had to do it inside Notepad++ for some reason, and were willing to install the PythonScript plugin (or other scripting plugin), you could write a script to run in the plugin that would loop through all the open tabs in order, and concatenate them into a new file – but that would be more complicated than just doing the command-line that I showed above.

      R 1 Reply Last reply Apr 1, 2025, 5:40 PM Reply Quote 3
      • R
        Robert Or Janet Diebel @PeterJones
        last edited by Apr 1, 2025, 5:40 PM

        @PeterJones Thanx very much for your help

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