Concatinate files
-
I wish to load a bunch of files, and concatenate them into one.
how do I do that? -
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.
-
@PeterJones Thanx very much for your help
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