Passphrase passing with Windows CMD

in my script I have:
“gpg --local-user “USER” --sign “C:\FOLDERS*.txt””

I get a prompt to enter my passphrase to sign this file. What I want to do, is pass the passphrase with my bat file, or save it in the local cache somewhere.

Is this possible?