Community
    • Login

    Concatinate files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 81 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.
    • Robert Or Janet DiebelR
      Robert Or Janet Diebel
      last edited by

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

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Robert Or Janet Diebel
        last edited by PeterJones

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

        Robert Or Janet DiebelR 1 Reply Last reply Reply Quote 3
        • Robert Or Janet DiebelR
          Robert Or Janet Diebel @PeterJones
          last edited by

          @PeterJones Thanx very much for your help

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