<?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>blog &#124; edwards research &#187; batch file</title>
	<atom:link href="http://blog.edwards-research.com/tag/batch-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.edwards-research.com</link>
	<description>some notes from our staff...</description>
	<lastBuildDate>Wed, 04 May 2011 02:11:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Recursive delete on&#160;Windows</title>
		<link>http://blog.edwards-research.com/2010/08/recursive-delete-on-windows/</link>
		<comments>http://blog.edwards-research.com/2010/08/recursive-delete-on-windows/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 20:32:09 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[batch file]]></category>
		<category><![CDATA[recursive delete]]></category>

		<guid isPermaLink="false">http://blog.edwards-research.com/?p=393</guid>
		<description><![CDATA[I spent a stupid amount of time writing a batch script for something 10 minutes later I found out I could accomplish with one line. Dreamweaver creates files called dwsync.xml inside every directory you syncronize after your first sync and I wanted to delete them all. My batch file wasn&#8217;t too crazy, but the spaces [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a stupid amount of time writing a batch script for something 10 minutes later I found out I could accomplish with one line.</p>
<p>Dreamweaver creates files called <strong>dwsync.xml</strong> inside every directory you syncronize after your first sync and I wanted to delete them all.</p>
<p>My batch file wasn&#8217;t too crazy, but the spaces in the file path caused some uglyness.</p>
<p>Anyway, the command to do this, once you&#8217;re in the highest directory you want to delete from is:</p>
<pre>
del /AH /S dwsync.xml
</pre>
<p>The hardest thing about figuring this out, is that in Windows, even a command prompt (<em>even an <strong>Administrator</strong> command prompt</em>) hides hidden files &#8212; so you need the <strong>/AH</strong> switch.</p>
<p>You could also add a prompt for each file, which is what I did for the first few to make sure everything was working as expected with the <strong>/P</strong> switch.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwards-research.com/2010/08/recursive-delete-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clearing Subversion information from a&#160;project</title>
		<link>http://blog.edwards-research.com/2010/01/clearing-subversion-information-from-a-project/</link>
		<comments>http://blog.edwards-research.com/2010/01/clearing-subversion-information-from-a-project/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 09:28:17 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[batch file]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://blog.edwards-research.com/?p=346</guid>
		<description><![CDATA[Subversion stores its information in hidden folders named &#8220;.svn&#8221; inside each added directory. Sometimes, you might want to remove all off these .svn directories, and start fresh. There are any number of reasons to want to do this, but in my case I wanted a quick way to reset a working copy on a windows [...]]]></description>
			<content:encoded><![CDATA[<p>Subversion stores its information in hidden folders named &#8220;.svn&#8221; inside each added directory.  Sometimes, you might want to remove all off these .svn directories, and start fresh.  There are any number of reasons to want to do this, but in my case I wanted a quick way to reset a working copy on a windows machine.</p>
<p>I found a good batch script (<a href="http://www.daniweb.com/forums/thread61479.html">source</a>) that does exactly what I needed:</p>
<pre class="brush: powershell; title: ;">
FOR /F &quot;tokens=*&quot; %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q &quot;%%G&quot;
</pre>
<p>I just threw that line in a text file, and saved it as <strong>rmsvn.bat</strong> in the highest directory that I wanted to strip .svn files from.</p>
<p>Opening up a command prompt, changing to the directory I saved the batch file in (with <strong>cd</strong>) and then running the file (with <strong>rmsvn.bat</strong>) worked perfectly.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwards-research.com/2010/01/clearing-subversion-information-from-a-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

