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