Can't get gpg.exe to run in my vbscript

I’m hoping someone can tell me how they got gpg.exe to run in a vbscript. I’ve been at this for hours and no luck.

I’ know my routine is working because I can change the string command from “”“c:\program files\gnu\gnupg\gpg.exe”“” (which errors with file not found) to “c:\putty\putty.exe” and the Putty program starts.

Thank you!!

try gpg2.exe or do a search on gpg.exe to make sure you have the correct path. I remember gpg.exe being in one folder and gpg2.exe being in a sub folder. Both work. Good luck.