问题
I need to merge ~1000 pdf files. I call pdftk from my program for this purpose. However, it happens that input arguments exceeds maximum Windows command line character length of 8192 and i get error.
I tried to store my input in txt file, but without success:
pdftk < file.txt
type file.txt | pdftk
It looks like, that pdftk does not get input from redirection, pipe operators.
I tested it on Windows 10.
Does anyone know how it can be achieved?
来源:https://stackoverflow.com/questions/46727043/windows-command-line-execute-pdftk-exe-with-arguments-length-8192-characters