Try using the variable attribute.

- Calvin
  ----- Original Message -----
  From: ColdFusion Programmer
  To: CF-Talk
  Sent: Wednesday, October 15, 2003 7:47 AM
  Subject: Re:CFFILE Question

  This shows the batch files cmd output but does not error:

  <cfexecute name="D:\CFusionMX\wwwroot\supportSearches.bat" timeout="5"/>

  Is there a way to not display the output?

  >Yes, if you're reading the resultant file straight away, you have to
  >make sure the batch file has finished 1st. (This is exaclty what Calvin
  >suggested)
  >
  >Therefore don't exclude the timeout value on cfexecute.
  >
  >This will show the batch files cmd output...
  >
  ><cfexecute name="D:\CFusionMX\wwwroot\supportSearches.bat" timeout="5">
  ></cfexecute>
  >
  >
  >This will not...
  >
  ><cfexecute name="D:\CFusionMX\wwwroot\supportSearches.bat" timeout="5"/>
  >
  >
  >This also will not, and won't even wait for the batch file to finish
  >before continuing to process the rest of the cfml template (current).
  >
  ><cfexecute name="D:\CFusionMX\wwwroot\supportSearches.bat" / >

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to