FAQ
A-PDF :: Affordable PDF Tools

How can I rename PDF files based upon script code in command line by using A-PDF Rename?

Return KB main page

Question

Hey, I have to rename multiple PDF files with the same name style. Then I got A-PDF Rename. It seems easy to use. And I wonder if I can use command line to rename my PDF files with A-PDF Rename?

Solution

If you work with diverse PDF file and you want to rename them in a uniform name style for working and searching easier, then you have to have a try A-PDF Rename. A-PDF Rename provides an easy way for users to batch rename multiple PDF files into the same name format with ease. Anyway, if you have some knowledge about script code, you are able to rename your PDF files in command line by using A-PDF Rename. By the way, before you publish the renamed PDF file, you can preview the change in advance. Now let's learn more about renaming PDF files based upon script code in command line.

Step1: Open CMD Window

Open "cmd" and then drop the file "prncmd.ext" file in installed file into cmd window and press "Enter". Then it will explain you the meanings of different words.

rename PDF files based upon script code in command line

Step2: Write Command Line

And then write the command line as the window shows.

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"

rename PDF files based upon script code in command line

Step3: Rename PDF File

And then press “Enter” to continue to rename the PDF files through command line with ease. And then you can go to check your rename file once it reminds you it completes.

Related products

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