|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
i don't remember fully, but i know it has to do with rundll...
this is what i found so far microsoft has this to say ahh something much better..... main page with samples i think what you were looking for the good stuff |
|
#3
|
|||
|
|||
|
Thanks for the reply, will take a look at these..
![]() |
|
#4
|
|||
|
|||
|
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 yet? 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?
|
|
#5
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Windows Help > Command Line Termination of Running Application |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|