I have a requirement where I need to password protect PDF files in background task. I have an option to call external OS commands from my system to run the tool on specific file.
Does Adobe Acrobat DC help in this? Can we execute from command line and make a PDF password protected?
Adobe Acrobat doesn't have a command line option for this.
Look at the Actions feature in Acrobat XI and DC. You can't run it from the command line but from within Acrobat you can use it to batch-encrypt PDFs or to encrypt one PDF with a pre-determined password.