
A-PDF Restrictions Remover Command Line
A-PDF Restrictions Remover Command Line(PRCMD) is a windows console utility that removes password and restrictions of PDF files. PRCMD is a stand alone program, does not need Adobe Acrobat. A trial version for PMCMD is NOT available. If you want to try functions, please refer to GUI verison. To order it, please Click here. Once you order goes through, you will be provided with a link that allows you to download the full version of PRCMD.
Usage
PRCMD <input file name> [<output file name>] [-P<password>]
<input file name>: Specifies encrypted PDF file name.
<output file name>: Specifies output PDF file name. If the file name does not
be specified, the output file will save to
<input file name>
-P : Specifies open password if needed.
EXAMPLES:
Remove restrictions of file c:\pdf\encrypted.pdf
PRCMD c:\pdf\encrypted.pdf
Remove open password of file c:\pdf\open-password.pdf and save to file
c:\pdf\no-password.pdf. The password of file open-password.pdf is "pass123".
PRCMD c:\pdf\open-password.pdf c:\pdf\no-password.pdf -Ppass123
RETURN CODE:
0: Remove successful
1: The file has no restrictions
2: Open password error
3: Save file failed
4: Open input file failed
5: Remove failed
6: Reserved
7: Unsupported encrypted method
97: Parameters' wrong
98: Expired
99: Unexpected error
FAQ
I need to effectively remove the permissions on all pdf files within a set folder and any sub folders, do you know if its possible to do this with this version?
A batch file example here to search all pdf file and remove the permissions of them:
dir *.pdf /b/s >file.dat
for /f %%1 in (file.dat) do prcmd.exe "%%1" "%%1.nosecure.pdf"
del file.dat
See also
- A-PDF Restrictions Remover
- Want more powerful program? Let us do a special one for you.