cfsilent ??

-----Original Message-----
From: ColdFusion Programmer [mailto:[EMAIL PROTECTED]

Sent: 15 October 2003 12:48
To: CF-Talk
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