Skip to main content
Participant
Aug 21, 2018 2:58 PM UTC
Answered

How to use more than one Parameter when opening a PDF file with a batch file?

right now I can only get one parameter to work at a time such as:

"C:\Program Files (x86)\Adobe\Acrobat 2015\Acrobat\Acrobat.exe"  /A "navpanes=0" "C:\New folder\Parameters for Opening PDF Files.pdf"

or

"C:\Program Files (x86)\Adobe\Acrobat 2015\Acrobat\Acrobat.exe"  /A "zoom=75" "C:\New folder\batch_script_tutorial.pdf"

but it will not run two or more parameter like this:

"C:\Program Files (x86)\Adobe\Acrobat 2015\Acrobat\Acrobat.exe"  /A "zoom=75&navpanes=1" "C:\New folder\batch_script_tutorial.pdf"

This topic is closed to new replies. Start a new post to keep the conversation going.
stevet48207438Correct answer
Participant
Aug 21, 2018 4:29 PM UTC

I found out how to get it working it needed =openactions like this:

"C:\Program Files (x86)\Adobe\Acrobat 2015\Acrobat\Acrobat.exe" /A "zoom=75.1&navpanes=0&page=3&pagemode=none=OpenActions" "C:\New folder\batch_script_tutorial.pdf"

3 replies

try67
Community Expert
Community Expert
Aug 21, 2018 3:10 PM UTC

It seems like it's not possible to do that when opening the file via the command-line.

Translate
stevet48207438AuthorCorrect answer
Participant
Aug 21, 2018 4:29 PM UTC

I found out how to get it working it needed =openactions like this:

"C:\Program Files (x86)\Adobe\Acrobat 2015\Acrobat\Acrobat.exe" /A "zoom=75.1&navpanes=0&page=3&pagemode=none=OpenActions" "C:\New folder\batch_script_tutorial.pdf"

Translate
try67
Community Expert
Community Expert
Aug 21, 2018 5:12 PM UTC

Neat. Thanks for posting the correct way of doing it!

Translate