A-PDF :: Affordable PDF Tools

How to batch watermark a folder PDFs via Command Line?

Return KB main page


I want to watermark different files in a same folder at the same time with using Command Line, which tool provides command line version?


Have a try on A-PDF Watermark (free download here) command line.

This tool enables you to watermark folders of PDF files with ease:

C:\Files>set pwmCmd="C:\Program Files\A-PDF watermark\PWMCMD.exe"
C:\Files>for %f in (*.pdf) do %pwmCmd% "%f" "Text - FINAL"

Other Usage:
PWMCMD [Input File] [-S:Password] [Watermarks|wm file] [-O:Output File Name] [-U"[Macro Name]=[Macro Value], [Macro Name]=[Macro Value],..."]

Here is the example with adding an image logo:
PWMCMD c:\pdfs\doc.pdf "FINAL" "Com Logo" -O"c:\pdfs\out.pdf"'

Add other types watermarks:
1. PWMCMD c:\pdfs\doc.pdf "Text - FINAL"'
2. PWMCMD "c:\pdfs\doc.pdf" "C:\Watermark\doMark.wm" -o"c:\pdfs\out.pdf"
3. PWMCMD c:\pdfs\doc.pdf "MacroWatermark" -O"c:\pdfs\out.pdf" -U"mymacroA=companyA,InputName=clientA"

This web tutorial will give you an overview of the procedure how easy to use this product!

Or view video tutorial here:


More Related Q&A

Related products

  • A-PDF Watermark - Add image and text watermarks to a batch of Acrobat PDF documents
  • A-PDF Image to PDF - Convert photos, drawings, scans and faxes into PDF documents
  • A-PDF Number Pro - Batch add Page Number to Acrobat PDF documents, including prefix and suffix.

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