Edit custom properties of pdf using command line

Sometimes, you need to edit custom properties of pdf without editing actual document. For example, the following document’s custom properties are blank; you can edit to label it. In order to let you do this in convenient and brief manner, the VeryPDF.com offers you Advanced PDF Tools Command Line, an ideal tool to edit custom properties of pdf, you are allowed to experience by following this article.

Snap140

Step one You can freely download Advanced PDF Toolsthrough

https://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip

do remember extracting it after download is completed, for it is zipped package.

Step two launch the  MS-DOS command prompt window, because the command line is bound to run under MS-DOS environment, launching MS-DOS command prompt window is essential and crucial, here goes the procedure

press  “start”>choose “Run”>input “cmd”>press “ok”

Snap100

Snap101

Snap135

so you will see the  MS-DOS command prompt window propping up

Snap1

Step three input command line to edit custom properties of pdf, it goes

pdftools -i "C:\input.pdf" -o "C:\output.pdf" –y "key1=value1,key2=value2"   

where the option -i is to specify a pdf filename or a directory for input, the option -o to specify the pdf filename for output, –y to edit new custom properties to an existing pdf file and overwrite original custom properties. the value can be replaced or added according to your needs, for example,

pdftools -i "C:\input.pdf" -o "C:\output.pdf" –y  “key1=xuxuh@hotmail.com,key2=LWsoftware”  

when your input is over, press “enter” key, you are allowed to see

Snap141

Step four open the file to check if the custom properties information has been edited, screenshot again

Snap142

this picture clearly shows you are successful in editing custom properties of pdf, because xuxuh@hotmail.com and LWsoftware appeared.

More articles on editing pdf file will be posted here, hope for your attention.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!