Link to home
Start Free TrialLog in
Avatar of E=mc2
E=mc2Flag for Canada

asked on

Command line PDF file joiner

I have several pdf files at C:\PDF\.
I need to join them all based on the order that they start in.. ie 1.pdf, 2.pdf, 3.pdf, 4.pdf.

I need to launch a batch script, which will look into this folder and then join all the files together and create a new file called Joined.pdf.
ASKER CERTIFIED SOLUTION
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of E=mc2

ASKER

How well known is PDFtk server? And have third parties checked the software for spyware etc.? The solution I am looking for will be used in a business environment.
I don't know if any third parties have checked it. I did some web research years ago before I first used it (the product has been around since 2004) and the research did not uncover any issues. At the time I was using Norton A-V and it came up clean then. I just ran a scan on the two binaries (pdftk.exe and libiconv2.dll) and they came up clean on both Malwarebytes and MSE (both with the latest updates). I feel confident of it, but, of course, it's your decision.

Btw, since it will be used in a business environment, you need to look at the licensing requirements. It is free for personal use, and I think it is free for business use (I'm not sure about that), but I know it is not free for redistribution, if that's what your business intends. Here's a quote from their site:
It is also used by OEMs and ISVs to give their products the ability to manipulate PDFs. A commercial license is required to distribute PDFtk with your commercial product.
Also, even if you're not redistributing it, but still using it in a business environment, you should consider getting commercial support for it, also not free. From the site:
For commercial product support, please purchase our one-year support agreement. It entitles you to the fastest answers to your questions and the fastest fixes to any problems that arise.
The full support agreement is here:
http://www.pdflabs.com/docs/pdftk-license/pdf_labs_pdftk_redist_lic_agreement_ver_2.0.pdf

Regards, Joe
Avatar of E=mc2

ASKER

Thanks.  Does anyone else have any suggestions, which uses a free script or VB Script.
Avatar of E=mc2

ASKER

PDFTKserver works.
Glad to hear it! Regards, Joe