Skip to main content
Participating Frequently
May 11, 2020
Question

Opening a PDF file with password in command line.

Opening a PDF file with password in command line.

 

I trid this : CMD > Acrobat.exe /a "password=chs1234" C:\my\today.pdf

 

acrobat application is opened, and then, still asking the password.

 

please help. Thank you

 

 

 

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Participant
October 1, 2024

Foxit can do this for you.

@ echo off

set "PWD=<YourPDFpassword"

"FoxitPDFReader.exe" "Input.pdf" /pwd %PWD%

Translate
Bernd Alheit
Community Expert
Community Expert
May 11, 2020

This is not possible. Possible parameters are defined here:

https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/AcrobatDC_pdf_open_parameters.pdf 

Translate