Closed pwong2 closed 7 years ago
@pwong2 This is caused by string limitation in Windows. Not something the library will handle for you.
See https://support.microsoft.com/sv-se/help/830473/command-prompt-cmd--exe-command-line-string-limitation for details.
A workaround is to merge like 100 pdfs at a time, and then merge the merged files at the end.. So 500 pdfs would first be 100 / 100 / 100 / 100 / 100 = 5 PDF files -> Merge these 5 = 1 file.
thanks @wubzz! appreciate all your help. I tried with that and it worked. There will be just more effort than merging all files at once.
@wubzz I tried to merge 500-1000 pdfs and then I encountered this issue. 400 pdfs and below still works.
my code is this: