what does "/A" on the command – start "" /max "C:\Program Files Xxxxx.exe" /A "pagemode=FullScreen" "yourfile direction and name.pdf"

0

Issue

I tried to open a pdf file on full screen using command lines, and I’ve sucessfully found this command :

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

on this topic :
https://superuser.com/questions/433293/how-to-open-a-pdf-in-full-screen-mode-by-command-line

My question is: what does the "/A" mean? Is that specific to start command ? I don’t find any references about "/A" on the start command documentation here : https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/start

Thanks

Solution

In terms of a pdf /A is a common Adobe Acrobat switch to indicate /Actions

Thus for AcroRd32.exe/Acrobat.exe it can be used as an inline command line switch.

Some other Acrobat competitors may also accept some (probably only a sub set) of those directives! hence some confusion as to which to use across applications.

For your example, it would not work in PDF-xchange as the allowable ones are

pagemode=<bookmarks|thumbs|none> – displays bookmarks or thumbnails.

The default setting is none.

Other apps use different means to switch behaviour e.g.

SumatraPDF.exe -FullScreen "yourfile directory and name.pdf"

Some of those same directives can be used at the end of a URL pointing to the PDF and should be used appended to the filename via #.

If the default PDF handler accepts them then

"file:///path/doc.pdf#page=2&view=Fit"

would be the equivalent of /A "page=2&view=Fit" "file:///path/doc.pdf"

see https://www.evermap.com/AutoBookmark/Manual/OpenParameters.htm

For a command to open msedge fullscreen with a file try

start "" msedge.exe --no-first-run --kiosk --new-window --edge-kiosk-type=fullscreen "file:///C:\path with a space\mydemo.pdf#page=2"

then work from there.

Answered By – K J

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More