On 01/12/2011 03:42 PM, Bo Berglund wrote: > Well, I created a batch file with the command: > > gpg -r <groupname> --encrypt <filename> > > When I execute this batch file it actually does what I need provided > that the file is not open in MS Word. If it is then there is a very > strange error message about an illegal argument... > > Funnily, if I use PGA to encrypt the doc file while MSWord has it > open, then encryption works just fine. > Is there a gpg option to open the file in read-only mode such that I > don't get this error?
Could you give us the error message? It may help someone figure out what the issue is. -Paul -- Please use my PGP key when sending me e-mail, if you can. PGP Key ID: 0x3DB6D884 PGP Fingerprint: EBA7 88B3 6D98 2D4A E045 A9F7 C7C6 6ADF 3DB6 D884 _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users