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:\outgoingdropfolder" pause FOR /F "delims=" %%F IN ('MORE ^< "%TMP%\~encryptlist.txt"') DO ( pause IF EXIST %%F ( pause ECHO Password|GPG --batch --encrypt --passphrase-fd 0 -r Publickey -o "C:\encryptedfiles\%%F.pgp" pause IF ERRORLEVEL == 0 DEL "%%F" ) ) POPD DEL "%TMP%\~encryptlist.*" ENDLOCAL -- View this message in context: http://old.nabble.com/empty-file-generated-when-running-GPG-batch-tp31223498p31223498.html Sent from the GnuPG - User mailing list archive at Nabble.com. _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users