Merge from Control File

Overview

Merge from Control File merges PDF files listed in a plain text control file into a single output PDF. Each line of the control file specifies one PDF file path. This is ideal for scripted or automated workflows where the list of files to merge is generated by another process.

Control file format

The control file is a plain text file (.txt) with one PDF file path per line. Lines beginning with # are treated as comments and ignored. Blank lines are also ignored. File paths can be absolute or relative to the control file's directory.

# Cover pages
C:\Documents\cover.pdf
C:\Documents\toc.pdf

# Main content
C:\Documents\chapter1.pdf
C:\Documents\chapter2.pdf
C:\Documents\chapter3.pdf

# Appendices
C:\Documents\appendix.pdf

How to use

  1. Create a text file listing the PDF files to merge, one per line.
  2. Go to Plug-Ins > Merge & Insert > Merge from Control File.
  3. Set the Control file path to your text file.
  4. Set the Output file path for the merged PDF.
  5. Optionally enable Auto-bookmark to create a bookmark for each source file.
  6. Click OK to perform the merge.

Options

OptionDescription
Control file Path to the text file listing the PDFs to merge. Click Browse to select the file.
Output file Path for the merged output PDF.
Auto-bookmark When enabled, a bookmark is automatically created for each source file using the file name (without extension) as the bookmark title.
Open output When enabled, the merged PDF is opened in Acrobat after the operation completes.

Tip

Use comments in the control file (lines starting with #) to organize and document your merge list. This makes it easy to temporarily exclude files by commenting them out.

Note

If a file listed in the control file cannot be found, the merge will continue with the remaining files and the missing file will be reported in the results summary.

See also