Re: Determine if a service has started via batch file



If you do "sc start " you should get an "already running" message if it has already started.

"WB" <WB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:E9711A82-E9D3-4663-90D2-EB649586B060@xxxxxxxxxxxxxxxx
Is there any way to determine if a service has started via a batch file? I
tried using "sc" but it doesn't return any errorlevel.

Thanks
--
Bill Baker

.