Using of GPG Options with batch file

Hello :
I have the file Members.txt contains :
Sami
sami@email.com
John
john@email.com
Carl
Carl@email.com

I want to create exec1.bat which can generate public key type RSA, 1024, validate to 1-1-2015 , Get the first names and email from members.txt.
I want to create exec2.bat which can generate public key type RSA, 1024, validate to 1-1-2015 , Get the remain names and email from members.txt.

I’ve searched long time and i didn’t find the awnser … no enough examles on the internet … please help !

Hi Omar,

my bat scripting experience is limited. I guess that you should create
a bat that creates one key with hardwired parameters.

Once done, you can extend this to use variables and run in a loop.
(Regular scripting instructions should help you do this.)

Best,
Bernhard