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
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...
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!
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 :)