Link to home
Create AccountLog in
Avatar of armanbena
armanbena

asked on

cfexecute does not show anything in output file

Hi--

I am working to show the text in a .exe "hello" to appear in an output file by making a call using cfexecute.  It will create a blank file.  Don't know if I did something wrong.  Would I need to make a variable, and then do something like ...cfoutput...#variable#</cfoutput>?

This is what I have:

<h3>cfexecute</h3>
<p>This example executes the Windows NT version of the netstat network monitoring program, and places its output in a file.

<cfexecute name = "\\snt201\TempDrv.Det\AAAAA\test.exe"
    arguments = "-e"
    outputFile = "\\nwn401av317\y_b_g-dev\intranet\outputTest.txt"
    timeout = "15">
     
     </cfexecute>



<!--- outputFile = "\\nwn401av317\y_b_g-dev\intranet\output.txt"--->

Please help!!!
ASKER CERTIFIED SOLUTION
Avatar of SidFishes
SidFishes
Flag of Canada image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account