How to combine two files?

How do you combine a batch file with a PDF or with a excel/word 2007 file?

Thanks in advance.

You can embed executable files to pdf or docx using Metasploit. An example https://null-byte.wonderhowto.com/how-to/hack-like-pro-embed-backdoor-connection-innocent-looking-pdf-0140942/