Discussion Locked

Close application from Command Line

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi!
I'm a bit puzzled here...to start an application/file etc... I use the command line: e.g. (Start c:\App.exe), but what is the command line that I can use which will close e.g. (c:\App.exe) just like when I click on the(X) sign of an applicationGUI?

5 replies

by ann777

Generally when starting a program at the DOS prompt, you need to close out the windows with the "exit" command. That command on a line of it's own (without quotes), will close out of the application similar to clicking on the "x".

by m.graft

Hello! Thank you for the effort. Unfortunately this is not what I was asking for. I did though find the answer myself. XP has a new command line called TASKKILL which basically solved my brainteaser! Thanks again.

by m.graft

Hello! Thank you for the effort. Unfortunately this is not what I was asking for. I did though find the answer myself. XP has a new command line called TASKKILL which basically solved my brainteaser! Thanks again.

This discussion is closed to new replies.