Output file to specific directory?

Werner Koch wk at gnupg.org
Wed Dec 17 16:26:46 CET 2003


On Wed, 17 Dec 2003 08:05:51 -0600, Peter Schott said:

> Unfortunately, that doesn't work.  It still decrypts the file to the
> directory the original is located in rather than the current working
> directory.  Seems strange to me, but I guess that's the way it's
> designed.  Is this by design or is that a bug?

No.

I did not follow the discussion, however what's wrong with either

  set filename=whatever
  gpg --output %filename%  %filename%.gpg

or 

  set filename=whatever
  gpg --output <%filename%.gpg  >%filename%

I am sure there are ways to mangle filenames even under Windows.

  Werner

-- 
Werner Koch                                      <wk at gnupg.org>
The GnuPG Experts                                http://g10code.com
Free Software Foundation Europe                  http://fsfeurope.org




More information about the Gnupg-users mailing list