<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Tips of How to Delete Folder Contents While Maintaining Folder Tree Structure in Windows XP PC</title>
	<atom:link href="http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/</link>
	<description>Living Digitally and Electronically</description>
	<lastBuildDate>Thu, 24 Dec 2009 18:03:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Paul M.</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-595111</link>
		<dc:creator>Paul M.</dc:creator>
		<pubDate>Thu, 27 Aug 2009 19:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-595111</guid>
		<description>Using this post and info from http://blogs.msdn.com/oldnewthing/archive/2008/04/17/8399914.aspx
I pieced together this one line command to put in the &quot;Empty Folder Contents&quot; registry key.  It gives a warning with pauses, which can be tweaked (I couldn&#039;t figure out how to have it recognize a yes or no and quit in a one line command) and deletes everything in the directory, including empty directories.

Just follow this post and put the following in for the Default Command in the registry:

cmd /c &quot;echo BE CAREFUL - X out of the window if you don&#039;t want to delete directory contents &amp;&amp; pause &amp;&amp; echo LAST WARNING - all files and subdirectories will be deleted &amp;&amp; pause &amp;&amp; cd /d %1 &amp;&amp; del /s /f /q *.* &amp;&amp; for /f &quot;usebackq delims=&quot; %%d in (`&quot;dir /ad/b/s &#124; sort /R&quot;`) do rd &quot;%%d&quot;&quot;</description>
		<content:encoded><![CDATA[<p>Using this post and info from <a href="http://blogs.msdn.com/oldnewthing/archive/2008/04/17/8399914.aspx" rel="nofollow">http://blogs.msdn.com/oldnewthing/archive/2008/04/17/8399914.aspx</a><br />
I pieced together this one line command to put in the &#8220;Empty Folder Contents&#8221; registry key.  It gives a warning with pauses, which can be tweaked (I couldn&#8217;t figure out how to have it recognize a yes or no and quit in a one line command) and deletes everything in the directory, including empty directories.</p>
<p>Just follow this post and put the following in for the Default Command in the registry:</p>
<p>cmd /c &#8220;echo BE CAREFUL &#8211; X out of the window if you don&#8217;t want to delete directory contents &amp;&amp; pause &amp;&amp; echo LAST WARNING &#8211; all files and subdirectories will be deleted &amp;&amp; pause &amp;&amp; cd /d %1 &amp;&amp; del /s /f /q *.* &amp;&amp; for /f &#8220;usebackq delims=&#8221; %%d in (`&#8221;dir /ad/b/s | sort /R&#8221;`) do rd &#8220;%%d&#8221;"</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nigel</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-573593</link>
		<dc:creator>nigel</dc:creator>
		<pubDate>Tue, 05 May 2009 20:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-573593</guid>
		<description>greatest thing i have ever encountered. imagine that the internet is ACTUALLY helpful</description>
		<content:encoded><![CDATA[<p>greatest thing i have ever encountered. imagine that the internet is ACTUALLY helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Char</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-566325</link>
		<dc:creator>Alexander Char</dc:creator>
		<pubDate>Thu, 19 Mar 2009 18:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-566325</guid>
		<description>hi i can see the context menu when i right click but when i click the menu it says
&quot;This file does not have a program associated with it for performing this action.Create an association in the Folder Options control panel</description>
		<content:encoded><![CDATA[<p>hi i can see the context menu when i right click but when i click the menu it says<br />
&#8220;This file does not have a program associated with it for performing this action.Create an association in the Folder Options control panel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-538258</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Tue, 28 Oct 2008 19:23:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-538258</guid>
		<description>be careful cutting and pasting from the web page into regedit.

You may find that the &quot;double-quotes&quot; copied from the web page are not the same as the double quotes needed by the command.

It didn&#039;t work for me until I deleted and reenterd the &quot;double-quotes&quot; in regedit. Now it works fine.

Its a bit dangerous tho. Is there a way of poping up a dialog box &quot;Are you sure?&quot; ???</description>
		<content:encoded><![CDATA[<p>be careful cutting and pasting from the web page into regedit.</p>
<p>You may find that the &#8220;double-quotes&#8221; copied from the web page are not the same as the double quotes needed by the command.</p>
<p>It didn&#8217;t work for me until I deleted and reenterd the &#8220;double-quotes&#8221; in regedit. Now it works fine.</p>
<p>Its a bit dangerous tho. Is there a way of poping up a dialog box &#8220;Are you sure?&#8221; ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: snpages.info</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-537204</link>
		<dc:creator>snpages.info</dc:creator>
		<pubDate>Thu, 23 Oct 2008 02:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-537204</guid>
		<description>Ty Myrick,
In other words, you want to get all of the files in a subfolder structure and put them in a single folder.
Use the first comment from &lt;i&gt;alias&lt;/i&gt; above,
but instead of delete all the files, cut these files and then paste into a new and empty folder.</description>
		<content:encoded><![CDATA[<p>Ty Myrick,<br />
In other words, you want to get all of the files in a subfolder structure and put them in a single folder.<br />
Use the first comment from <i>alias</i> above,<br />
but instead of delete all the files, cut these files and then paste into a new and empty folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ty Myrick</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-535692</link>
		<dc:creator>Ty Myrick</dc:creator>
		<pubDate>Wed, 15 Oct 2008 20:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-535692</guid>
		<description>Is there any way to do the reverse of this?  Sometimes I want to delete a subfolder structure without deleting the files within it.  Is there any way to delete a folder and move the files up in the hierarchy?</description>
		<content:encoded><![CDATA[<p>Is there any way to do the reverse of this?  Sometimes I want to delete a subfolder structure without deleting the files within it.  Is there any way to delete a folder and move the files up in the hierarchy?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jase07</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-534619</link>
		<dc:creator>jase07</dc:creator>
		<pubDate>Fri, 10 Oct 2008 16:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-534619</guid>
		<description>hey! what if i wanted to delete all the contents in the folder by using the context menu what string should i place in the dafault key?</description>
		<content:encoded><![CDATA[<p>hey! what if i wanted to delete all the contents in the folder by using the context menu what string should i place in the dafault key?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jase07</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-534617</link>
		<dc:creator>jase07</dc:creator>
		<pubDate>Fri, 10 Oct 2008 16:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-534617</guid>
		<description>this is great thanks</description>
		<content:encoded><![CDATA[<p>this is great thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Learmonth</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-534077</link>
		<dc:creator>Bob Learmonth</dc:creator>
		<pubDate>Tue, 07 Oct 2008 16:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-534077</guid>
		<description>What are the symbols that look like reverse Bs?
in the string. I tried copying and pasting and the symbols turned to &amp;&amp;. Right clicking a folder showed the string entered in the reg not empty folder contents</description>
		<content:encoded><![CDATA[<p>What are the symbols that look like reverse Bs?<br />
in the string. I tried copying and pasting and the symbols turned to &amp;&amp;. Right clicking a folder showed the string entered in the reg not empty folder contents</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Add &#8220;Empty Folder Contents&#8221; To Vista Right Click Context Menu To Delete Files Without Removing Folders &#187; My Digital Life</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-534029</link>
		<dc:creator>Add &#8220;Empty Folder Contents&#8221; To Vista Right Click Context Menu To Delete Files Without Removing Folders &#187; My Digital Life</dc:creator>
		<pubDate>Tue, 07 Oct 2008 10:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-534029</guid>
		<description>[...] delete and remove the files, but not the folders that storing the files. There is a trick to add &#8220;Empty Folder Contents&#8221; contextual item into right click context menu (much like how user access the &#8220;Delete&#8221; function) in [...]</description>
		<content:encoded><![CDATA[<p>[...] delete and remove the files, but not the folders that storing the files. There is a trick to add &#8220;Empty Folder Contents&#8221; contextual item into right click context menu (much like how user access the &#8220;Delete&#8221; function) in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-533944</link>
		<dc:creator>Alexandre</dc:creator>
		<pubDate>Mon, 06 Oct 2008 18:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-533944</guid>
		<description>Hi, [alias] said it all, F3 does work. I´ve tried editing the registry as told above for the tip in Windows Vista x64, the instruction appears in right click menu, but did not delete anything.</description>
		<content:encoded><![CDATA[<p>Hi, [alias] said it all, F3 does work. I´ve tried editing the registry as told above for the tip in Windows Vista x64, the instruction appears in right click menu, but did not delete anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alias</title>
		<link>http://www.mydigitallife.info/2008/10/07/tips-of-how-to-delete-folder-contents-while-maintaining-folder-tree-structure-in-windows-xp-pc/comment-page-1/#comment-533927</link>
		<dc:creator>alias</dc:creator>
		<pubDate>Mon, 06 Oct 2008 16:09:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/?p=11789#comment-533927</guid>
		<description>an alternative would be to press F3, use * to search for all the files in folder. Sort by type and delete all the files and separate out all the subfolders. Would take a few seconds, would work on any computer instead of having to edit the registry.</description>
		<content:encoded><![CDATA[<p>an alternative would be to press F3, use * to search for all the files in folder. Sort by type and delete all the files and separate out all the subfolders. Would take a few seconds, would work on any computer instead of having to edit the registry.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
