Fog Creek Software
Discussion Board




cmd.exe: net ?? and detecting started services

Hello

Recently, I discovered that on Windows' cmd.exe one can start and stop a service with a
  net start <service>
and
  net stop <service>
which I find more useful than clippy.

Now, that I have some appetite for more, does anyone know how to detect if a service is already started on the command line. Even better would be a command that displays all services along with their status.

Conservare in un luogo asciutto e fresco, al riparo dal sole.
Friday, July 30, 2004

Tasklist/? should help you.

KayJay
Friday, July 30, 2004

'net start' will display all currently running services.

Greg Hurlman
Friday, July 30, 2004

> Conservare in un luogo asciutto e fresco, al riparo dal sole

About right for the average developer's lifestyle :)

el
Friday, July 30, 2004

Go go Google Translation!

"To conserve in a dry and fresh place, protected from the sun"

... hey!

Greg Hurlman
Friday, July 30, 2004

exactly!

el
Tuesday, August 03, 2004

*  Recent Topics

*  Fog Creek Home