<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PCTips3000 &#187; command prompt</title>
	<atom:link href="http://www.pctips3000.com/tag/command-prompt/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pctips3000.com</link>
	<description>pc tips &#38; tricks blog</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:07:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Command Prompt Killing!</title>
		<link>http://www.pctips3000.com/command-prompt-killing/</link>
		<comments>http://www.pctips3000.com/command-prompt-killing/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 12:16:03 +0000</pubDate>
		<dc:creator>Codrut Nistor</dc:creator>
				<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[kill process]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.pctips3000.com/?p=41</guid>
		<description><![CDATA[One of the things I really love about Linux is those commands you can use in a shell, some of them so natural. For example, the &#8220;kill&#8221; command. If you&#8217;re a stranger to the Linux world, then let me tell you that this command does exactly what it says, allowing you to kill any process [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I really love about Linux is those commands you can use in a shell, some of them so natural. For example, the <em>&#8220;kill&#8221;</em> command. If you&#8217;re a stranger to the Linux world, then let me tell you that this command does exactly what it says, allowing you to kill any process running on a machine, as long as you have the rights to do it (try <em>&#8220;kill -9 -1&#8243;</em> if you want to shut down everything&#8230; and get no chance to save your work, haha!)<br />
<center><a href="http://www.pctips3000.com/wp-content/uploads/2009/06/commandpromptkilling.png"><img src="http://www.pctips3000.com/wp-content/uploads/2009/06/commandpromptkilling.png" alt="Command Prompt Killing" title="Command Prompt Killing" width="485" height="348" class="aligncenter size-full wp-image-42" /></a></center><br />
For all the command line freaks out there who are still using Windows (or they are forced to use it), there&#8217;s also such a command available, and since I must confess I just found out about it&#8230; I should share this precious info, don&#8217;t you think?</p>
<p>This trick works in both Windows XP and Vista, could also work in other Windows versions, but I didn&#8217;t have the chance to try it. Anyway, here it goes&#8230;</p>
<p>1. Open the command prompt window (just go to <strong>Start>Run</strong> and type in <em>cmd</em>, then press <strong><em>Enter</em></strong>)</p>
<p>2. Type <em>tasklist</em> at the command prompt and press <strong><em>Enter</em></strong>; note the info available about each process &#8211; Image Name, PID, Session Name, Session#, and Mem Usage</p>
<p>3. If you want to kill a process, you will need to know its <em><strong>Image Name</strong></em> or <em><strong>PID</strong></em></p>
<p>4. For example, if I want to kill my foobar2000 player, I should type <em>&#8220;taskkill /PID 4916 /F&#8221;</em> or <em>&#8220;taskkill /IM foobar2000.exe /F&#8221;</em> (without the quotation marks, of course)</p>
<p>5. Once the process has been killed, you should get a message saying <em>&#8220;SUCCESS: The process with PID x has been terminated.&#8221;</em> or <em>&#8220;SUCCESS: The process &#8220;name&#8221; with PID x has been terminated.&#8221;</em></p>
<p>That&#8217;s all, folks&#8230; but don&#8217;t let yourself be fooled by the short guide above &#8211; there&#8217;s much more to be done with the <em>&#8220;taskkill&#8221;</em> command. To get extensive info about the available parameters (the two possible uses described above are only the tip of the iceberg, you know&#8230;), just type <em>&#8220;taskkill /?&#8221;</em> at the command prompt and be amazed by this terrible hidden weapon available to Windows power users!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pctips3000.com/command-prompt-killing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
