A-PDF :: Affordable PDF Tools

How to batch rename PDF files based on script code in command line?

Return KB main page


Can I use command line to batch rename PDF files based on script code?


Yes, you can use A-PDF Rename (free download here) command line mode to batch rename PDF files with script.

You can write command line as follows:

C:\RenameFiles>set RenameCmd="C:\Program Files\A-PDF Rename\prncmd.exe"

C:\RenameFiles>for %i in (*.pdf) do %RenameCmd% "%i" -C"C:\pdfs\gettitlescript.txt" -L"C:\pdfs\macro1.rul","C:\pdfs\macro2.rul"

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 Text Replace - batch replace, change or delete multiples text in Acrobat PDF files automatically
  • A-PDF Rename - batch rename multiple PDF document based on content, metadata and file attributes(Size, Datetime) within PDF files. You can batch change or update multiple PDF files metadata (title, creator, producer, author, subject and keywords) as well as
  • A-PDF Form Data Extractor - batch export PDF form data to CSV or XML file format
  • A-PDF Page Master - Manage and organize PDF document pages, including edit, arrange, merge, extract etc.

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