Skip to main content
Participating Frequently
May 11, 2020
Question

Opening a PDF file with password in command line.

  • May 11, 2020
  • 2 replies
  • 4181 views

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 has been closed for replies.

2 replies

Participant
October 1, 2024

Foxit can do this for you.

@ echo off

set "PWD=<YourPDFpassword"

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

Bernd Alheit
Community Expert
Community Expert
May 11, 2020