>lcCmd = AddBSEx(paConfig[2]) + [GPG.EXE --default-recipient "] + ; > paConfig[6 ] + [" --batch -o "] + m.tcEncFile + [" -e "] + m.tcFile + ["] >I'm attempting to use this, calling with ShellExecute(), but am having problems when the path to the directory contains spaces and I don't hard code the directory path. In particular, this code works...
RETURN ShellExecute( 0, ; "Open", ; "gpg.exe", ; [--default-recipient ADP ] + [-o d:\Output.txt ] + [-e d:\20070417_092825_TX-7359_PAYROLL_TCPAYROLL_001-000.txt], ; "C:\Program Files\GNU\GnuPG\", ; 1 )while this code does not...
RETURN ShellExecute( 0, ; "Open", ; "gpg.exe", ; [--default-recipient ] + lcGPGRecipient + [ -o "] + tcOutput + [" -e "] + tcFileToEncrypt + ["], ; lcPathToGPG, ; 1 )I've assured that lcPathToGPG is the correct path and contains quotes. Although this would appear to be a ShellExecute issue, I've also tried the RUN command, but it also seems to have problems with pathnames that include spaces.