13–14 -addEmbeddedFile: File Attachment

13–14–1 Processing

Attaches the file to the input PDF.

13–14–2 Example of commands

[Executing example commands]

Attaches sample.docx to test.pdf and output it as out.pdf.

[Windows]

AHPDFToolCmd80.exe -addEmbeddedFile C:\test\sample.docx -d C:\test\test.pdf -o C:\sav\out.pdf

[Linux]

AHPDFToolCmd80 -addEmbeddedFile C:\test\sample.docx -d /home/antenna/test/test.pdf -o /home/antenna/sav/out.pdf

13–14–3 Folder settings: applied

You can perform batch processing by specifying the input folder to the -d parameter and the output folder to the -o parameter. If a folder is specified, the file will be attached to the PDF files in the input folder. Note that the output file will be output to the output folder with the same name as the input file name.

13–14–4 Parameters

Parameter
Content
[Path]
[Required]
Sets the full pathname of the file to attach.