<?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>Code for Concinnity &#187; recycle-bin</title>
	<atom:link href="http://cfc.kizzx2.com/index.php/tag/recycle-bin/feed/" rel="self" type="application/rss+xml" />
	<link>http://cfc.kizzx2.com</link>
	<description>beautiful and elegant solutions</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:24:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>cmd-recycle: Delete files from Windows command line</title>
		<link>http://cfc.kizzx2.com/index.php/cmd-recycle-delete-files-from-windows-command-line/</link>
		<comments>http://cfc.kizzx2.com/index.php/cmd-recycle-delete-files-from-windows-command-line/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 19:30:48 +0000</pubDate>
		<dc:creator>kizzx2</dc:creator>
				<category><![CDATA[Useful tips]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[recycle-bin]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://cfc.kizzx2.com/?p=78</guid>
		<description><![CDATA[Download links Direct download browse on GitHub I wrote another tool to do just this a while ago, but that one stopped working since I migrated to Windows 7 x64. Microsoft said the SHFileOpearation interface (which the old tool used) had been replaced by the IFileOperation interface. So I figured I would dig up my [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-left: 10px; float: right;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcfc.kizzx2.com%2Findex.php%2Fcmd-recycle-delete-files-from-windows-command-line%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcfc.kizzx2.com%2Findex.php%2Fcmd-recycle-delete-files-from-windows-command-line%2F&amp;source=kizzx2&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><h2>Download links</h2>

<ul>
<li><a href="http://cloud.github.com/downloads/kizzx2/cmd-recycle/recycle.exe"><strong>Direct download</strong></a></li>
<li><a href="http://github.com/kizzx2/cmd-recycle">browse on GitHub</a></li>
</ul>

<p>I wrote <a href="http://kizzx2.com/blog/index.php/2008/09/27/windows-delete-to-recycle-bin-from-the-command-line/">another tool</a> to do just this a while ago, but that one stopped working since I migrated to Windows 7 x64. Microsoft said the <code>SHFileOpearation</code> interface (which the old tool used) <a href="http://msdn.microsoft.com/en-us/library/bb775771(VS.85).aspx">had been replaced by the <code>IFileOperation</code> interface</a>. So I figured I would dig up my rusty C# again to update it.</p>

<p>Damn, I can&#8217;t believe it took a couple of hours, but the result worked amazingly. This one also supports wildcards:</p>

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">recycle file1 file2 supports-wildcards\*.tmp</div></td></tr></tbody></table></div>

<p>I&#8217;ve gone the extra mile and set up a proper repository this time around <a href="http://github.com/kizzx2/cmd-recycle">on GitHub</a>. Probably some Windows gurus will mock me left and right with some obscure one-liners or something, lol.</p>
]]></content:encoded>
			<wfw:commentRss>http://cfc.kizzx2.com/index.php/cmd-recycle-delete-files-from-windows-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

