Results 1 to 4 of 4

Thread: Stop a process - 1 line of code

  1. #1

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    8

    Lightbulb Stop a process - 1 line of code

    Hi,

    Here's how you can stop a running process with 1 line of code:

    NET STOP <ServiceName>


    Example:
    shell "NET STOP messenger"

    This example turns off that annoying messenger service.
    You can see a list of services in: Control Panel>Administrative tools>Services

  2. #2
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: Stop a process - 1 line of code

    Quote Originally Posted by DarkVB
    Hi,

    Here's how you can stop a running process with 1 line of code:

    NET STOP <ServiceName>


    Example:
    shell "NET STOP messenger"

    This example turns off that annoying messenger service.
    You can see a list of services in: Control Panel>Administrative tools>Services

    These aren't running processes they are services, don't give people ideas please...
    Zeegnahtuer?

  3. #3

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    8

    Re: Stop a process - 1 line of code

    Sorry, that's what i meant!
    Why shouldn't I give people ideas? That's exactly what I want to do!

  4. #4
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: Stop a process - 1 line of code

    Quote Originally Posted by DarkVB
    Sorry, that's what i meant!
    Why shouldn't I give people ideas? That's exactly what I want to do!
    No, no, i meant don't give them bad ideas, i really meant to make you add a warning about the bad things that may well happen if you stop the wrong services, such as no networking for a period of time... i see what you are getting at tho
    Zeegnahtuer?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width