You have to use an absolute path to the template...

c:/cfusion/bin/cfencode.exe c:/inetpub/wwwroot/site/template.cfm /v "2"


Hope that helps,
Robert

-----Original Message-----
From: Paul Fraser [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 9:42 AM
To: CF-Talk
Subject: cfencode.exe (CFCrypt utility)


I'm trying to encrypt a CF template by using the cfencode.exe utility
originally found in the CFUSION/BIN directory. When I run the utility with
what I think is the proper syntax, all I get back is the message telling me
what the proper format should be. Help!

At command line I run:

cfencode template.cfm/v "2"

The syntax is supposed to be:

cfencode infile [outfile][/r][/q][/h "header info..."]/ v "2"

[ ]  are optional params and /v "2" is a "mandatory" param indicating the
version.

Thanks in advance for your assistance.

Paul




Paul Fraser
Senior Web Designer
argir.com technology solutions
612.370.4242
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to