Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open a pdf in fullscreen view via command line on Windows?

I have been able to open a pdf document through command line by using: start test.pdf

But I would like to open it in full screen mode via command line, does anyone have any idea how to do so?

like image 283
hyounis Avatar asked Jul 02 '11 15:07

hyounis


People also ask

How do I force a PDF to open full screen?

To switch to Full Screen mode, use the keyboard shortcut - Ctrl + L.

How do I open a PDF with command prompt?

2. Type the command for Evince with your PDF file's name, file extension and its full path relative to the Home directory. For instance, if your PDF file is named "wages. pdf" and it is stored in the Documents directory, type "evince Documents/wages.

How do I get a PDF to open in 100% view?

You can set aLL PDF's to open in 100% view by going to Edit>Preferences>Page Display>Default layout and zoom. If the creator has set a file to open at a different size, those settings will be ignored.


2 Answers

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.

like image 153
David Steele Avatar answered Oct 21 '22 05:10

David Steele


Windows 10:

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

like image 42
Shaolin072 Avatar answered Oct 21 '22 03:10

Shaolin072