cfexecute with multiple arguments
Hello,
I'm trying to encrypt a file with CFEXECUTE, using OpenSSL. When I run the code in the command prompt, it works fine and the new encrypted file appears in the correct folder. Also, I can run CFEXECUTE with OpenSSL with just one argument and it works fine. ie arguments="version". But the following does not return a value, nor does it create the new folder:
<cfexecute name = "C:\Program Files (x86)\GnuWin32\bin\openssl"
arguments = "aes-256-cbc -a -salt -in ""C:\Users\Dev2\Documents\My Stuff\OpenSSL\secrets.txt"" -out ""C:\Users\Dev2\Documents\My Stuff\OpenSSL\secrets2.txt"""
variable = "result"
timeout = "5">
</cfexecute>
<cfdump var="#result#">
Any ideas?
Pete
