select @encrypt = '"c:\Program Files (x86)\GNU\GnuPG\gpg2.exe" -e -r '+ @key+' ' + @sPath+'filename.txt' exec master..xp_cmdshell @encrypt
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)