CFTALK.COM>



Login  |  Register

cfexecute output

winter
4 posts
Jan 25, 2006
10:53 AM
When using cfexecute, setting the "variable" or "outputfile" parameters is supposed to direct output to the variable or file specified...in the absence of these being set, it's supposed to direct output to the calling page.

What I've seen, however, is output directed to the calling page, even when an output variable is specified. (In examining the variable chosen, it does contain the output, as expected).

Any suggestions regarding why this may be occurring?

[e.g.

<cfexecute name="\\servername\sharename\filetorun.bat"
    variable="environmentVariables"
    timeout="1"></cfexecute>


where filetorun.bat simply contains

@set computername


it dumps the output to the calling page, like so:

COMPUTERNAME=SERVERNAME


when I simply want it (or whatever other output) to rest quietly in the variable chosen.]

Last Edited winter on 25-Jan-2006 10:56 AM


CFTalk :: Tip Of The Week :: Polls :: Book Of The Month :: CFStore
Another online store by CoyoteDirect.com  ~ Adventure Friendly