This article may also help.
http://support.microsoft.com/default.aspx?scid=kb;[LN];193888
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"zipobibrok5X10e8" wrote:
| Hi All ,
|
| Hope this is the right group.
|
| I want to start a service only if another service has been started. How
| do I do that using the net start command ? Sorry if the question is
| repeated.
|
| net start | find /i "Alerter">nul||net start "ASP.NET State Service"
|
| I want the command to work such that , only if the Alerter service has
| started , I want ASP.NET to start.
|
| In short I want something like this to be done :
|
| if(Service 1 has started)
| Start Service 2.
| else
| Do not start Service 2.
|
| How do I accomplish this?
|
| Thank You.
|