Community
    • Login

    Concatinate files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 617 Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          Robert Or Janet Diebel @PeterJones
          last edited by

          @PeterJones Thanx very much for your help

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors