Florin:
Try SC QUERY <service_name> in a command window.

James Wang

-----Original Message-----
From: Spico Florin [mailto:[email protected]] 
Sent: Monday, May 28, 2012 5:31 AM
To: [email protected]
Subject: Re: How to check if a process is running or if a process is existing 
with prunsrv?

Hello!
>   I'm using prunsrv to create windows services. I would like to ask 
> you if it is possible to query the status of a process (if it running, 
> stopped) or if a process is existing. Also I would like to read the 
> content of the pid file with a Java program.
>
> I look forward for your answers. Thank you.
>   Regards,
>  Florin
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to