Acrobat (reader): to open at a specific page number via command line on Windows

这一生的挚爱 提交于 2019-12-22 18:02:08

问题


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...


回答1:


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




回答2:


use

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

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



来源:https://stackoverflow.com/questions/9554478/acrobat-reader-to-open-at-a-specific-page-number-via-command-line-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!