shadowkenshin Posted November 27, 2005 Share Posted November 27, 2005 Hello guys, Is there someone who can help me giving a code which could Start & Stop a specified Service? I'm not familiar with APIs. Calling the "Net Start/Stop Servicename" commandline is not a good option for me (i hate those Y/N questions). Many thanks. Link to comment Share on other sites More sharing options...
GaryFrost Posted November 27, 2005 Share Posted November 27, 2005 Hello guys,Is there someone who can help me giving a code which could Start & Stop a specified Service? I'm not familiar with APIs. Calling the "Net Start/Stop Servicename" commandline is not a good option for me (i hate those Y/N questions). Many thanks. the following uses beta version of autoit, there may be other ways http://www.autoitscript.com/forum/index.ph...ndpost&p=124251 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
shadowkenshin Posted November 27, 2005 Author Share Posted November 27, 2005 Thanks qafrost for the code & quick reply , but it seems does not for for me. Got an error : if($s_pcnames <> $LV_ERR) then If(^ERROR Error: Variable used without being declared. Well, maybe I'm just too sleepy. I'll just check after I wakeup.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now