starting / stopping service in windows using command line @ 7/13/2011

programming & research
In Linux, you typically use "service stop xxx" or "/etc/init.d/xxx stop" for this purpose.

Here is the equivalent on windows:
  net stop xxx

You can also start a service using:
    net start xxx

However, there is no such thing as "net restart". So you have to do it manually by stopping and then starting the service.
发布于 7/13/2011 15:48:24 | 评论:0