in reply to Re: Win32 - Dependant services
in thread Win32 - Dependant services

Thanks for your suggestion. However as I said earlier, this service has dependants. If you do as you have suggested above, (but add the /Y switch to answer yes to stopping dependant services) it will stop, but then how would you know what to start again?
Thanks very much to everybody though for your help. We've decided to use the code I posted earlier, and look into using the API as suggested.