1.

Solve : how to avoid pop up box for password in windows batch script?

Answer»

I am trying to encrypt and decrypt a file using a GPG software using BATCH SCRIPT. Every thing goes FINE for encryption but when i try to decrypt it prompts for password which comes as a message box but i want to avoid this because this script has to be called in some other application and we cannot automate this unless we provide the password in actual script itself. Can some one help me in this regards.GPG has a passphrase option.
This is how I decrypt using gpg
Code: [SELECT]gpg.exe --batch --passphrase Password -o  "Outputfile.txt" --decrypt "Input.gpg"Thanks a lot Squashman, this worked for me.



Discussion

No Comment Found