Features

Add option -password to command line

4y agoCompleted

Add an option -password so that you can open password protected files from the command line without the popup box (now you just can open it from comamdn line and popup box then asks for password).

Eg. sumatrapdf.exe -password "secret" protected.pdf

I call sumatrapdf from a Harbour (clipper program), so users can NOT see the comamnd line parameters ... So I can include protected PDF files that users can view with MY program, but not via other programs (because the do not know the password). Therefore the current option with the password popup box is not useful. The password must be given via a command line parameter

and 1 other

1 comment

  1. Krzysztof Kowalczyk marked this as Completed17d ago
  2. aImplemented in 3.7, available in the pre-release: https://www.sumatrapdfreader.org/prerelease

    Use -pwd <password>, e.g. SumatraPDF.exe -pwd secret file.pdf, to open a password-protected file without the password prompt.