How to combine 2 or more pdf's into one pdf with the command line options

I have a directory of 10 pdf files that I want to combine into 1 pdf file with a script using the command line options for pdfcreator. I have tried the /IF and /OF options but those only seem to work with 1 input file.  

Can someone please give me the syntax to combine more than 1 pdf file into a single pdf file using the command line?



you will need to stop the printer first with cPrinterStop(ByVal value As Boolean).
Then add all the files you want to combine with cPrintFile(ByVal filename As String), finally do cCombineAll().
More command line options can be found here: