Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line Batch Merge

Scroll Prev Top Next More

Batch Merge Command Line Format Win2PDF Pro Only Feature

 

win2pdfd.exe batchconvert "sourcefolder" merged.pdf pdf savetype

 

Merges all PDF files in the "sourcefolder" to the merged PDF specified by "merged.pdf".  The "savetype" specifies the order of the merged files, and can be one of:

 

savetype parameter

Description

alphanumeric

Files are converted and then merged to a single PDF sorted alphabetically by the source file name.

reversealphanumeric

Files are converted and then merged to a single PDF sorted reverse alphabetically by the source file name.

modifieddatetime

Files are converted and then merged to a single PDF sorted reverse chronologically by the modified date of the source file name (oldest first).

reversedmodifieddatetime

Files are converted and then merged to a single PDF sorted chronologically by the modified date of the source file name (newest first).

createddatetime

Files are converted and then merged to a single PDF sorted reverse chronologically by the creation date of the source file name (oldest first).

reversecreateddatetime

Files are converted and then merged to a single PDF sorted chronologically by the creation date of the source file name (newest first).

 

Any folder names that contain spaces must be enclosed with quotation marks.

 

This feature requires a licensed version of Win2PDF Pro. Contact us for a time limited evaluation license.

 

Returns 0 on success, and a Windows system error code on failure.