what does STOP service do in Windows?

Posted by Radek on Super User See other posts from Super User or by Radek
Published on 2011-06-24T05:15:39Z Indexed on 2011/06/24 8:25 UTC
Read the original article Hit count: 188

Filed under:
|
|

I start my web server as web service on Windows XP. How it was done is described here

My web server is coded in ruby/sinatra and I start it in .bat file. That file is used by the service too. Manually I stop the web server by pressing CTRL+C in the dos window.

How can I stop the server now as it started via service? I found out that I can stop it via taskkill /f /t /im ruby.exe

Is there any way I can use the MMC stop service function to stop the web server?


runweb.bat

c:
cd C:\web
ruby C:\web\web2.rb

© Super User or respective owner

Related posts about Windows

Related posts about windows-xp