Might try reformulating the command to fix the problem, and even avoid having to read-back-in and parse the output file, this trick will search for a running service and return @ERROR = 0 if true ...

Code:

break on

shell '%COMSPEC% /C net start | find /i "Event Log" >nul 2>nul'

if @error = 0
?"Event log is running"
else
?"Event log is NOT running"
endif

exit 0



-Shawn