Oct 5, 2000 #1 Eze Programmer Jul 20, 2000 14 AR I need to execute a program from the command line, i dont know how to call a command line function width coldfusion [sig][/sig]
I need to execute a program from the command line, i dont know how to call a command line function width coldfusion [sig][/sig]
Oct 5, 2000 #2 onirike Programmer Aug 3, 2000 91 CA Hi! You can use CFEXECUTE to do that. Never forget that it will run a program on the server and never on the client machine. Example: <CFEXECUTE NAME="C:\winNT\System32\netstat.exe" ARGUMENTS="-e" OUTFILE="C:\temp\output.txt" TIMEOUT="1"> Check in the CF help to know how to use CFEXECUTE... Chris [sig][/sig] Upvote 0 Downvote
Hi! You can use CFEXECUTE to do that. Never forget that it will run a program on the server and never on the client machine. Example: <CFEXECUTE NAME="C:\winNT\System32\netstat.exe" ARGUMENTS="-e" OUTFILE="C:\temp\output.txt" TIMEOUT="1"> Check in the CF help to know how to use CFEXECUTE... Chris [sig][/sig]
Oct 5, 2000 Thread starter #3 Eze Programmer Jul 20, 2000 14 AR thank you. does this command exist for coldfusion 4.0, if no where i can found it [sig][/sig] Upvote 0 Downvote
Oct 5, 2000 #4 onirike Programmer Aug 3, 2000 91 CA Hi! Hum you are right this only exists in CF 4.5 ;-) Ok here's another solution go on the allaire developper exchange and get that CFX: CFX_ShellExec It will allow you to execute an external file. http://devex.allaire.com/developer/...34726D-2830-11D4-AA9700508B94F380&method=Full Have fun, Chris ;-) [sig][/sig] Upvote 0 Downvote
Hi! Hum you are right this only exists in CF 4.5 ;-) Ok here's another solution go on the allaire developper exchange and get that CFX: CFX_ShellExec It will allow you to execute an external file. http://devex.allaire.com/developer/...34726D-2830-11D4-AA9700508B94F380&method=Full Have fun, Chris ;-) [sig][/sig]