A-PDF :: Affordable PDF Tools

How to split multiple PDF files?

Return KB main page

Question

I want to split multiple PDF files one time, is there a solution?

Solution

You can use A-PDF Split Command Line.

For example, your files are in the folder c:\pdfs, need split every 5 page, and output the files to c:\pdfs\output. You can create a batch file using notepad as below, named it as SplitAll.bat. Then run it.

REM ========================================== BEGIN ======

Set PSCMD="c:\pscmd\pscmd.exe"
Set PDFFilter=*.pdf

cd c:\pdfs
for  %%1 in (%PDFFilter%)do %PSCMD% "%%1" -P5 c:\pdfs\output\ "{basename}_{part}"

REM =========================================== END ======

Related products

We always like improving our products based on your suggestions. Please send your feedback (or ask questions) to us in the contact page.

Return KB main page