writing output to file (newbie)

Brian Minton minton@csc.smsu.edu
Wed Jan 24 23:16:01 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jan 24, 2001 at 03:33:30PM +0200, Ofer Cohen wrote:

> Hello,
> I recently downloaded the gnupg for windows, and it was quite easy to
> operate. I would like to know if there is a way to log the gpg's output to a
> file when checking a file's signature. I tried to use the --output option
> but it didn't seem to do anything. what I'm trying to achieve is to check a
> file's signature programmatically (by checking the gpg's log), or any other
> way. Any ideas, leads, suggestions, will be gladly accepted, Thank you in
> advance, Ofer.
I don't know, but I bet you could use gpg's exit status (called errorlevel in DOS) to find out. perhaps something like: gpg --verify %filename% if errorlevel 1 goto failure goto success in a batch file to do it. - -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://cs.smsu.edu/~minton /finger minton@csc.smsu.edu _ _ my favorite OS! bjm918s@mail.smsu.edu / for PGP public key. | | <_>._ _ _ _ __ bminton@earthling.net /What are you waiting for, | |_ | || ' || | |\ \/ bminton@efn.org / try Jesus today!!! |___||_||_|_|`___|/\_\ "Many shall run to and fro, and knowledge shall be increased" --Daniel 12:4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6b1QIp0PPDCS0QgIRAhKCAKCNWtdB/wKmbRhGb2rklJKg94sqcwCeIXA9 r7vCLgK1ApIivt/j+qwMFe8= =rM4K -----END PGP SIGNATURE-----