Jump to content
Sign in to follow this  
memnon

end a service with autoit

Recommended Posts

memnon

is there a way to "net stop service" via autoit function ?


das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?

Share this post


Link to post
Share on other sites
jpm

is there a way to "net stop service" via autoit function ?

<{POST_SNAPBACK}>

I can
run(@comspec & ' /c net stop service')

don't forget the blank character before /c

The raindancer solution is much hign tech. :whistle:

Share this post


Link to post
Share on other sites
Raindancer

True... Geerts solution requires a COM-enabled beta version of AutoIt


Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

Share this post


Link to post
Share on other sites
MHz

Raindancer WMI script needs Beta AutoIt as well. Net stop as JPM has supplied maybe enough, and works with the release version of AutoIt?

Your choice. SC.exe is a possibility to use as well?

Share this post


Link to post
Share on other sites
MHz

me likes COM :-)

<{POST_SNAPBACK}>

I know. Who does not. It is an extra tool that is useful. :whistle:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×