Skip to main content
June 29, 2006
Question

cfencode problems

  • June 29, 2006
  • 1 reply
  • 763 views
Hi,

I am currently having difficulties using cfencode.exe.

e.g

cfencode c:\dev\jx.cfm

No matter what arguments I pass through the command line, I always seem to get the help prompt when I run cfencode. Is there anything else I need to do to get it to run? Could someone give me a working example?

Thanks,

Will
    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    June 29, 2006
    Assume an arbitrary path C:\CFusionMX7\wwwroot\mySite\myDir\myFile.cfm. Suppose I wish to cfencode myFile.cfm. Then I would follow the following steps.

    1) Back up myFile.cfm, as cfencoding will overwrite it.
    2) Open the DOS command prompt and change directories till the cursor is at the home directory of the cfencode.exe utility, namely:

    C:\CFusionMX7\bin>

    3)Type the following, including the version number (option '/v 1' or '/v 2'), and press enter
    cfencode C:\CFusionMX7\wwwroot\mySite\myDir\myFile.cfm /v 2