Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i need execute a command line

Status
Not open for further replies.

Eze

Programmer
Jul 20, 2000
14
0
0
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]
 
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=&quot;C:\winNT\System32\netstat.exe&quot;
ARGUMENTS=&quot;-e&quot;
OUTFILE=&quot;C:\temp\output.txt&quot;
TIMEOUT=&quot;1&quot;>

Check in the CF help to know how to use CFEXECUTE...

Chris :) [sig][/sig]
 
thank you.

does this command exist for coldfusion 4.0, if no where i can found it
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top