have you tried xnet ?


break on

shell '%ComSpec% /c xnet list \\Server\Service | find /C "Running" >nul 2>nul'
if @error
? "Service is not running"
else
? "Yes, Service runs"
endif

get $_


Xnet is written by Ruud and is since ever then in the KiXtart distribution
_________________________