How to open a pdf in fullscreen view via command line

你离开我真会死。 提交于 2019-12-03 07:31:13

This should do it.

start "" /max "c:\nameofpdf.pdf"

This has the advantage that it should work if the user is using other pdf document readers that are not adobe reader. It should just use the default pdf reader on the machine.

Windows 10:

explorer.exe "file:\\path\to\file.pdf"

Beshoo

I've tested the following with Adobe Reader 10:

start "" /max "C:\Program Files Xxxxx.exe" /A "pagemode=FullScreen" ".pdf" 
Acrobat.exe /A "zoom=1000" "C:\example.pdf"

http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf

Please note you need to be in your acrobat directory to open the file.

You didn't mention which OS you are using. For Linux:

evince -f "filename"

OR

xdg-open "filename"

Bashar Magzoub

Before using command line just open AcroRd32.exe/Acrobat.exe and go to Edit => Preferences => Full Screen and uncheck on Current document only. Then you can use the command line as

start "" /max "C:\Program Files Xxxxx.exe" /A "pagemode=FullScreen" "yourfile direction and name.pdf"

Go to the adobe folder, select acrord32.exe and provide it with path of filename you want to open. The adobe PDF viewer starts in a new window.

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