<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How Can I Delete Specific Files in a Specific Folder?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/09/26/how-can-i-delete-specific-files-in-a-specific-folder.aspx</link><description>Hey, Scripting Guy! How can I access the files in the folder T:\Act and delete any files that have the string “current” somewhere in the file name? -- SC 
 Hey, SC. We have to admit, the notion of deleting anything current has a certain appeal, doesn</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How Can I Delete Specific Files in a Specific Folder?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/09/26/how-can-i-delete-specific-files-in-a-specific-folder.aspx#3453475</link><pubDate>Thu, 15 Sep 2011 14:06:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3453475</guid><dc:creator>willyjoeII</dc:creator><description>&lt;p&gt;Hey Scripting Guy!,&lt;/p&gt;
&lt;p&gt;I have been looking all over the web the last couple of days for a script that would search all locations locally and on shared network drives for a file (test.exe, e.g.) and delete it. I have been trying to modify others that are seemingly close, but with no luck. I am relatively new to scripting, and of late, have not had much chance to spend the required time to understand it as much as I should, so the logic confuses me. This seems like it would be quite simple, but, obviously, I&amp;#39;ve not found it. Andy ideas on how to accomplish this?&lt;/p&gt;
&lt;p&gt;We have a specific file that is in our environment, and when used, it messes with our printer scripts, so we are trying to delete all instances of it, anywhere. it was created eons ago and the author has long since moved on.&lt;/p&gt;
&lt;p&gt;Ant assistance would be greatly appreciated, and thanks!&lt;/p&gt;
&lt;p&gt;Bill&lt;/p&gt;
&lt;p&gt;P.s., if I am asking this in an incorrect manner, I.E., as a response to another&amp;#39;s query, I apologize; please instruct me on the correct procedure. :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3453475" width="1" height="1"&gt;</description></item></channel></rss>