Hi Jerome thanks for the response. Lee had the solution (add %%F to end of
line). I appreciate all the suggests.
Jerome Baum-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> jb writes:
>
>> Hi. It outputs a same named .pgp file. When decrypted, it's empty. I
>> trie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
jb writes:
> Hi. It outputs a same named .pgp file. When decrypted, it's empty. I tried
> removing the echo before, "Password" and that breaks the process. Sorry, I
> haven't done batch in years and gpg is a new thing for me. Result:
>
> C
You have saved the day yet again Lee! Thanks a lot.
Lee Elcocks wrote:
>
>
> Your out put should look like this.
>
> "C:\encryptedfiles\%%F.pgp" %%F
>
> From: jer...@jeromebaum.com
> To: johnathan.barb...@elephant.com
> Subject: Re: empty file generat
Hi. It outputs a same named .pgp file. When decrypted, it's empty. I tried
removing the echo before, "Password" and that breaks the process. Sorry, I
haven't done batch in years and gpg is a new thing for me. Result:
C:\outgoingdropfolder>FOR /F "delims=" %F IN ('MORE <
"C:\Users\myprofile\A
Your out put should look like this.
"C:\encryptedfiles\%%F.pgp" %%F
From: jer...@jeromebaum.com
To: johnathan.barb...@elephant.com
Subject: Re: empty file generated when running GPG batch
Date: Thu, 24 Mar 2011 10:53:23 +
CC: gnupg-users@gnupg.org
jb writes:
> Hi, th
jb writes:
> Hi, this is running in a batch. It creates a .pgp file, however that file is
> empty. Any ideas?
>
> SETLOCAL
> PATH=C:\Program
> Files\GNU\GnuPG;c:\encryptedfiles;c:\outgoingdropfolder;%PATH%
>>"%TMP%\~encryptlist.txt" DIR /B "C:\outgoingdropfolder"
> PUSHD "C:\outgoingdropfol