General discussion

Locked

Close application from Command Line

By m.graft ·
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?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Close application from Command Line

by Ann777 In reply to Close application from Co ...

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".

Collapse -

Close application from Command Line

by m.graft In reply to Close application from Co ...

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.

Collapse -

Close application from Command Line

by Blaine Moore In reply to Close application from Co ...

Ctrl-C will stop the current program.

exit will close the DOS command window.

Collapse -

Close application from Command Line

by m.graft In reply to Close application from Co ...

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.

Collapse -

Close application from Command Line

by m.graft In reply to Close application from Co ...

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Operating Systems Forums