Re: empty file generated when running GPG batch

2011-03-26 Thread jb1111
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

Re: empty file generated when running GPG batch

2011-03-25 Thread Jerome Baum
-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

RE: empty file generated when running GPG batch

2011-03-25 Thread jb1111
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

Re: empty file generated when running GPG batch

2011-03-25 Thread jb1111
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

RE: empty file generated when running GPG batch

2011-03-24 Thread Lee Elcocks
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

Re: empty file generated when running GPG batch

2011-03-24 Thread Jerome Baum
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