Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old June 5th, 2002, 07:22 PM
Robert_J_Sherman Robert_J_Sherman is offline
Code Junky
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 358 Robert_J_Sherman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 57 m 12 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old June 5th, 2002, 08:22 PM
vr6stress vr6stress is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 28 vr6stress User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to vr6stress Send a message via Yahoo to vr6stress
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

Reply With Quote
  #3  
Old June 5th, 2002, 08:45 PM
Robert_J_Sherman Robert_J_Sherman is offline
Code Junky
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 358 Robert_J_Sherman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 57 m 12 sec
Reputation Power: 0
Thanks for the reply, will take a look at these..

Reply With Quote
  #4  
Old June 10th, 2002, 11:31 AM
phoenix_rizzen phoenix_rizzen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Kamloops, BC, Canada
Posts: 55 phoenix_rizzen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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?

Reply With Quote
  #5  
Old June 10th, 2002, 12:48 PM
Robert_J_Sherman Robert_J_Sherman is offline
Code Junky
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 358 Robert_J_Sherman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 57 m 12 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > Command Line Termination of Running Application


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway