2

I am running a Windows batch file to convert a document to PDFand on the last line of the batch file I have:

Acrobat "%1.pdf"

This opens the produced PDFfile just fine but I also wish to be able to open the PDFfile at some specific page of the document.

So how to extend the command that I am using above to force the PDFfile to open at a desired page number?

Thanks a lot...

2 Answers 2

7

Use the command line switch /A:

Acrobat /A "page=<pagenum>" %1.pdf

Replace with whatever page you like to be displayed. For additional open parameters, please refer to Adobe's partner documentation:

http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf

Good luck!

Living

Sign up to request clarification or add additional context in comments.

Comments

1

use

Acrobat /A "page=3" "%1.pdf"

AFAIK the above works in Acrobat 7 and up (maybe even earlier version but not sure).

@ Yahia Thanks. Your answer is equally good but @Living has provided some additional useful information. 1 vote up.

Your Answer

Draft saved
Draft discarded

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.