I need a program to merge all my MHTML files together

I’ve got a bunch of web pages saved in MHTML format, and I really need to merge around 20 to 30 of them together. I’ve found some websites that can do this, but they limit the number of pages I can combine. So, I’m looking for a standalone program that can help me out.

Do you basically need to copy/paste all 30 files into 1? A PowerShell script could do that but if you only need to do this once, I’d just do the CTRL+A CTRL+C CTRL+V 30 times.

Can you please tell me more about that power shell script? I mentioned 20-30 files just for example, in reality there are like 300 folders with 6-30 files in each.

Do they need to stay in the MHTML format? One option could be to open each one in a browser and print it as a PDF. Then you’d have around 30 PDFs. You could easily combine those into one file. Just a thought!

They don’t have to stay in MHTML format, but I do need the search function to work. I mentioned 20-30 files just as an example, but in reality, I have around 300 folders with 6-30 files each, so doing it manually isn’t really an option.