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?
To switch to Full Screen mode, use the keyboard shortcut - Ctrl + L.
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.
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.
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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With