How to check for the existence of a service via batch file
net start | find "Trend Micro Client/Server Security Agent RealTime Scan" > nul 2>&1
if not .%errorlevel%.==.0. \\server\ofcscan\autopcc.exe
net start | find "Trend Micro Client/Server Security Agent RealTime Scan" > nul 2>&1
if not .%errorlevel%.==.0. \\server\ofcscan\autopcc.exe