"splitMergePDF" command line multiple files

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange

Chesco
User
Posts: 1
Joined: Sun Apr 27, 2025 11:15 am

"splitMergePDF" command line multiple files

Post by Chesco »

Hello, I have been looking thru the forum trying to get a similar post, I also have been looking in the "https://help.pdf-xchange.com/pdfxt10/in ... ons_t.html"

I have genetated 124 single splitmerePDF command line codes to build up 124 named PDFs, merging multiple files.

I have seen this PDF List, can they be used also with the command line, to do just one run of the splitmergePDF tool for the 124 files?

PDF Sorting, I have also seen several post of the sorting PDF in the output, I thought , is there a way thru the command line to set the order of the PDF output (like the way the were sorted out in the inut order, instead of file name, or size, or generation date).

If there is an example, it would be good, I have been going thru the topics, and it seems it possible, but there is no instruction regarding the command line and the PDF List.

Thanks
Chesco
User avatar
Vladimir G - Tracker Dev
User
Posts: 69
Joined: Thu Nov 30, 2017 1:24 pm

Re: "splitMergePDF" command line multiple files

Post by Vladimir G - Tracker Dev »

Hello, Chesco

Yes, it is possible to pass the PDFTools Files List file (*.pdtfl) as a command-line argument for the /RunTool command:

Code: Select all

PDFTools.exe /RunTool "pdft.tool.splitMergePDF" "C:\Test\Your_124_files.pdtfl"
The *.pdtfl is a text file, that contains filenames (one per line) that you want to be processed, e.g.:

Code: Select all

C:\Test\1.pdf
C:\Test\2.pdf
...
C:\Test\124.pdf
According to the processing order:
1. If the 'Multi-Threaded Processing Mode' option is enabled, the output order is not guaranteed by default. To ensure that PDF Tools preserves the order, enable the following option:
Tool options → All options... → Keep output documents in order according to input data = Yes
image.png
2. If the 'Multi-Threaded Processing Mode' option is disabled, you should not encounter any issues with the output order matching the input order.

Could you please provide more details about the issue with the output order so we can assist you further?


Best regards,
You do not have the required permissions to view the files attached to this post.
Vladimir Goshko
Software Developer
PDF-XChange Co. LTD