In this article, I would like to describe a convenient way to encrypt pdf Encrypt PDF Command Line.with through
Summary and free trial of Encrypt PDF
Encrypt PDF Command Line is a very convenient command line tool for Windows users and developers to allow you to encrypt pdf files singly or very fast! However, for users here, who want to know more and want to encrypt pdf with this command line software for a trial etc., it is better to download free trial version of Encrypt PDF command line right now, so please do not hesitate to do this~!
(note: for server operators, to encrypt pdf files in various program languages and scripts, it is great to choose Encrypt PDF COM)
How to encrypt pdf files in batches with command line?
- Please get familiar with the usage of this command line tool
(encryptpdf.exe – directory of “encrypdf.exe”; [options] – optional parameters for you to encrypt pdf)
Please understand the essential parameters here
-i : for inputting original pdf
-o : for generating encrypted pdf
(If you did not specify the -o parameter, the default output pdf file will overwrite the input PDF file)
-u: for typing user password.
-w: for typing owner password.
Please create one BAT file
First, you can create a new notepad file, then you need to save it as .bat file, by now, it is done to create one BAT file by yourself!
Please refer to the following example to type your command line in batches in created BAT file
d:\encryptpdf_cmd_v2.3\encryptpdf.exe -i c:\sample.pdf -o c:\out.pdf -w abc654 -u xyz123
Here is a BAT example for you to refer to:
After all the basic command line typing is done like above, please save this BAT file and its content, then close it and double-click on icon or shortcut of this created and saved BAT file, and after a while, your successful encrypted pdf files could be produced in targeting directory in batches very very quickly than you could ever imagine!
As you can see, with this method illustrated above, you can use various pdf password of users and owner (and even encryption modes, levels) to encrypt pdf files with command line in batches very conveniently, rather than always the same passwords of pdf files with GUI software. At last, after you know how to encrypt pdf files in batches through command line here, if you want to encrypt pdf files in batches or singly in MAC OS X systems (very popular systems), please check VeryPDF PDF Encrypter for Mac, which is a great software for MAC users to encrypt pdf files conveniently!