• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

23.2. Executing Programs

As of ColdFusion 4.5, you can execute command-line programs residing on the same machine as the ColdFusion Application Server, using the CFEXECUTE tag. This tag allows you to call external programs such as batch utilities from within your ColdFusion application. The following syntax calls an external program using CFEXECUTE:

<CFEXECUTE NAME="path_to_program_to_execute" 
           ARGUMENTS="argument_string" 
           OUTPUTFILE="path_to_output_file"
           TIMEOUT="timeout_in_seconds">
</CFEXECUTE>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint