@echo off
CLS
set myfile=C:\D_Drive\sft\lib0109.zip.pgp
set pkey="lib123456"
set sento="-o C:\D_Drive\sft\lib0109.zip"
set mypgppath="C:\D_Drive\sft\pgp.exe"
call %mypgppath% +force %myfile% -z %pkey% %sentto%

using above batch file works fine

using it from cf 

<cfexecute name="c:\sft\pgptest.bat" outputfile="c:\sft\log.txt"></cfexecute> 

gives 

File is encrypted. Secret key is required to read it. You do not have the 
secret key needed to decrypt this file. 

any ideas???? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329780
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to