Skip to main content
Participant
August 21, 2018
Answered

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

  • August 21, 2018
  • 1 reply
  • 2206 views

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

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"

1 reply

try67
Community Expert
Community Expert
August 21, 2018

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

stevet48207438AuthorCorrect answer
Participant
August 21, 2018

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"

try67
Community Expert
Community Expert
August 21, 2018

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