NeHoMaR Posted May 21, 2005 Share Posted May 21, 2005 How close an application with a .cmd ? I wanna run the .cmd and do a "brutal" close of application, similar to use Task Manager and end process :p Is that possible? Link to comment https://www.neowin.net/forum/topic/322894-how-close-an-application-with-a-cmd/ Share on other sites More sharing options...
+BudMan MVC Posted May 21, 2005 MVC Share Posted May 21, 2005 the command your looking for is; C:\>taskkill /? TASKKILL [/s system [/u username [/P [password]]]] { [/FI filter] [/PID processid | /IM imagename] } [/F] [/T] Description: This command line tool can be used to end one or more processes. Processes can be killed by the process id or image name. Or you could grab pskill (pstools) from http://www.sysinternals.com and through it in your path. Link to comment https://www.neowin.net/forum/topic/322894-how-close-an-application-with-a-cmd/#findComment-585950855 Share on other sites More sharing options...
BigCheese Posted May 21, 2005 Share Posted May 21, 2005 taskkill /f /im notepad.exe just change notepad.exe to whatever task you want to kill. Link to comment https://www.neowin.net/forum/topic/322894-how-close-an-application-with-a-cmd/#findComment-585953728 Share on other sites More sharing options...
NeHoMaR Posted May 22, 2005 Author Share Posted May 22, 2005 (edited) Yeah, taskkill, thanks :yes: I remember the MS-DOS commands, but I don't know enough about "new" WinNT, 2k, XP commands. WinXP is too easy, normally nobody need commands now :pinch: Edit: The problem was that when I type "help" command, "taskkill" is not showed in list :o How many commands are not showed in that list? Edited May 22, 2005 by NeHoMaR Link to comment https://www.neowin.net/forum/topic/322894-how-close-an-application-with-a-cmd/#findComment-585953888 Share on other sites More sharing options...
+BudMan MVC Posted May 22, 2005 MVC Share Posted May 22, 2005 Edit: The problem was that when I type "help" command, "taskkill" is not showed in list :o How many commands are not showed in that list? 585953888[/snapback] Did you ever think to RTFM? Everything you could ever want to know about windows is quite clearly documented - if you would take the time to look over it ;)http://www.microsoft.com/resources/documen...-us/ntcmds.mspx Link to comment https://www.neowin.net/forum/topic/322894-how-close-an-application-with-a-cmd/#findComment-585954200 Share on other sites More sharing options...
NeHoMaR Posted May 22, 2005 Author Share Posted May 22, 2005 Yeah :punk: Maybe Microsoft doesn't like show advanced and/or dangerous commands with "help" command :/ Link to comment https://www.neowin.net/forum/topic/322894-how-close-an-application-with-a-cmd/#findComment-585955755 Share on other sites More sharing options...
+BudMan MVC Posted May 23, 2005 MVC Share Posted May 23, 2005 Yeah :punk: Maybe Microsoft doesn't like show advanced and/or dangerous commands with "help" command :/ 585955755[/snapback] Its not that - the help command just gives help for non network system commands.. there are quite a few other command line "tools" that are just not included in that.Just because it's a command line tool - does not make it a system command, etc... They are NOT trying to hide anything.. If you open "HELP", look under "What's New" its right there under "See Also" --> "Tools" Yeah their hiding it ;) Link to comment https://www.neowin.net/forum/topic/322894-how-close-an-application-with-a-cmd/#findComment-585959866 Share on other sites More sharing options...
Recommended Posts