• Determining the name of an output file in gpg

    From Anonymous@21:1/5 to All on Tue Jan 15 14:23:41 2019
    I want to encrypt a file, call it foo.txt, but I don't want to have
    the end result be foo.txt.gpg. I want the end result to be foo.gpg.
    I have used the following command line, and it seems to work, but I
    also get the warning, "gpg: AllowSetForegroundWindow(4256) failed:
    Access is denied."

    The command line is:
    C:\x>gpg2 -o foo.gpg --compress-level 0 --cipher-algo twofish -c foo.txt

    Should I ignore the warning? Is there any reason to be concerned
    with this? So far it looks like the resulting .gpg file is all
    right. Or is there a better command line for what I'm trying to do?

    I'm using Windows for this.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)