Command Line Termination of Running Application
Okay.. this'll probably come off as a dumb question.. but.. eh.. I gotta ask.
Okay, so I can "net start" and "net stop" my services.. no biggie..
I can also "start c:\myprogram\program.exe"...
but "how" can "stop" a windows application.. (i.e. from the command line).
i.e. I want to "exit" a running GUI application from the command line..
why? you might ask.. well, my interest here is some 'certain' non-service based servers.. such as my SMTP server, or Dynamic DNS tool...
What I've got together is simply a small batch file to start and stop all of my web services and clients.. but .. seems, for the moment I can only start the clients.. can't seem to stop them from a batch script...
Any input on this one, would be very helpful.. there's just "got" to be a way to stop an app from the command line.
Thanks for the reply, will take a look at these..
June 10th, 2002, 12:31 PM
Check sysinternals' website for pskill.exe That will do what you are looking for.
Linux is for those who hate Windows.
FreeBSD is for those who love UNIX.
Have you read The Handbook
How about The FAQ
Have you searched
the mailing lists?
Or read any of the man pages
Have you searched the web
for BSD resources?
In short, have you done your homework yet?
June 10th, 2002, 01:48 PM
Thanks.. I "think" that's what I need...
Found something in MS's site about some "resource kit" and several references to "tskill", "kill" and "taskkill" but these all seem to be related to winXP..
anyway.. will give this sysinternals tools a shot..
thanks a bunch.