Can VeryDOC PDF Password Remover be called by script?

VeryDOC PDF Password Remover has command line version for users to call it by script easily. In this article, how to remove PDF password in script with this tool can be shown to you in details as you expect.

If GUI interface of this tool could not suit you, maybe CMD version can make you simply achieve decryption of removing PDF passwords through command lines and parameters. Here is CMD example for you to refer to below, and I hope this tool can bring you fun:

Step1. Download

Please download package of VeryDOC PDF Password Remover directly, and then, after you extract its content to your computer, executive file “pdfdecrypt.exe” could be in your computer for later application.

Step2. Run cmd.exe in Windows systems

After extraction, you can run cmd.exe in your computer, so, targeting command prompt window, which is running environment of command lines, could pop on screen.

Step3. Accomplish removing PDF passwords

Firstly, please get familiar with usage:

pdfdecrypt.exe –i <input PDF> –o <output PDF> [options]

Note: If you do not specify the -o parameter, the default output file will overwrite the input PDF file.

where [options] can be following parameters with strings except “-i, –o”

  • -i [pdf file name] : decrypt PDF filename or directory
  • -o [pdf file name]: PDF file will be generated
  • -u <string>: input user password
  • -w <string>: input owner password
  • -v: view the decrypted PDF file after decryption
  • -l [log file name]: specify log file for output message

Then, you can refer to the following examples to use parameters to achieve process you want:

pdfdecrypt.exe -i C:\sample.pdf -o C:\decrypt.pdf -w owner -u user -l C:\error.log

pdfdecrypt.exe -i C:\sample.pdf -w "owner" -u "user"

pdfdecrypt.exe -i C:\sample.pdf -o C:\out1.pdf -w "owner"

pdfdecrypt.exe -i C:\sample.pdf -o C:\out2.pdf -u "user"

pdfdecrypt.exe -i C:\pdfdir\ -o D:\ -l C:\error3.log

In addition, if you need to batch remove passwords of PDF files, please type correct commands line as above in a BAT file, then, after you save them and close this BAT file and double-click its icon, you can get targeting PDF files without passwords in destination folder.

Here is the end of this article, I hope simple method to remove PDF files passwords singly or in batches satisfy your needs from the easy-to-operate command line examples mentioned above. If you have any questions, please feel free to leave your comments here. To own this tool for good, just choose full version of VeryDOC PDF Password Remover.

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!