How to run an exe in coldfusion

Cold fusion is a CGI language like asp, php. Sometimes, you may need to call an external exe in coldfusion.

It is absolutely doable in coldfusion. For exmaple, if you want to call cscript.exe, here is what you can do:

<cfexecute name = “C:WindowsSystem32cscript.exe
  arguments = “pdfmerge.vbs  c:1.pdf|c:2.pdf  c:out.pdf”
  outputFile = “C:Tempoutput.txt”
  timeout = “100″>
</cfexecute>