in reply to Win32 - Dependant services

Restarting a service is just like Stopping it, and then Starting it again.

You might find Win32::Service quite handy.

update: mis-read the question. this post is irrelevant

He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.
Chady |
Are you a Linux user in Lebanon? join the Lebanese Linux User Group.

Replies are listed 'Best First'.
Re^2: Win32 - Dependant services
by Smaug (Pilgrim) on Oct 21, 2004 at 11:03 UTC
    Hi Chady,

    That is what I am currently doing. However if there are services running which are dependant on MSSQL, the service will not stop.