command line option

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Dmitry D.
User
Posts: 35
Joined: Sun Dec 16, 2012 3:50 am

command line option

Post by Dmitry D. »

Hello.
Is there an option to run a password protected file from a command line?
Something like PDFXEdit.exe /A psw=*** MyFile.pdf
If no — it would be usefull to implement this option, I think.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: command line option

Post by Stefan - PDF-XChange »

Hello Dmitry,

I am almost 100% sure that there is no such option, and if a password protected file is opened via the command line - a prompt window to enter the password would be shown in the normal Viewer GUI.

Regards,
Stefan
Dmitry D.
User
Posts: 35
Joined: Sun Dec 16, 2012 3:50 am

Re: command line option

Post by Dmitry D. »

Hello, Stefan.
I think there is no problem. Only I know a password.
What's the difference if I type it in the Input field of Open Dialog or in the Command prompt?
Foxit Reader has such feature.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: command line option

Post by Vasyl - PDF-XChange »

Hi, Dmitry.

With new build you will be able to use:
PDFXEdit.exe /A password="<password>" "MyFile.pdf"

Best
Regards.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Dmitry D.
User
Posts: 35
Joined: Sun Dec 16, 2012 3:50 am

Re: command line option

Post by Dmitry D. »

Thank you.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: command line option

Post by Stefan - PDF-XChange »

:)