Jump to content

Recommended Posts

Posted

Here is an example of a net start, just change the ccmexec to your service you want to start, do the same with net stop.

RunWait(@ComSpec & " /c " & 'net start ccmexec',@TempDir,@SW_HIDE)

Posted

I can't seem to get it to stop .

the net is apache , Apache.exe . but i can't get it to stop . haven't treid start yet .

Posted

I can't seem to get it to stop .

the net is apache ,  Apache.exe . but i can't get it to stop . haven't treid start yet .

<{POST_SNAPBACK}>

does it work from the command line?

Top

Posted

Just gave it one more try and didn't work with apache.exe . So gave apache2 a try and that worked ? the exe is apache.exe but I see in the Servies it is apache2 . so all give that a try with the script now .

Posted

Script works

RunWait(@ComSpec & " /c " & 'net stop Apache2',@TempDir,@SW_HIDE)

Thanks ..

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...