<?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>Randomly Intermittent Thoughts &#187; Windows</title>
	<atom:link href="http://www.nathanblomquist.net/blog/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nathanblomquist.net/blog</link>
	<description>Thoughts I have pondered, but may not be wholely original...</description>
	<lastBuildDate>Thu, 31 Mar 2011 21:14:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How do you &#8216;svn delete&#8217; missing working copy files?</title>
		<link>http://www.nathanblomquist.net/blog/2010/10/15/how-do-you-svn-delete-missing-working-copy-files/</link>
		<comments>http://www.nathanblomquist.net/blog/2010/10/15/how-do-you-svn-delete-missing-working-copy-files/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 18:27:25 +0000</pubDate>
		<dc:creator>nblom</dc:creator>
				<category><![CDATA[Batch]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.nathanblomquist.net/blog/?p=94</guid>
		<description><![CDATA[Recently, I was upgrading a set of files in a svn working copy directory. I received the upgraded files from a third party. I used a merge tool to synchronize and merge the files, deleting files that were no longer needed. But this just deleted them from the working copy; not the svn repository. I [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I was upgrading a set of files in a svn working copy directory.  I received the upgraded files from a third party.  I used a merge tool to synchronize and merge the files, deleting files that were no longer needed.  But this just deleted them from the working copy; not the svn repository. I could do a 'svn status' and "see" that files were missing, but there didn't seem to be a way for me to tell svn to delete them.</p>
<p>A quick Google <a href="http://www.google.com/search?&#038;q=svn+delete+missing+files">Search</a> pointed me to <a href="http://snipplr.com/view/2362/remove-missing-files-with-svn/">SNIPPLR</a>.</p>
<p>The batch file created by troy, helped enormously!<br />
I modified it a bit to fit my system.  See below.</p>
<div class="igBar"><span id="ljava-2"><a href="#" onclick="javascript:showPlainTxt('java-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite">
<div id="java-2">
<div class="java">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">@echo off</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rem :: <span style="color: #000000; font-weight: bold;">This</span> script deletes files from svn that are missing in the specified working copy.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #006600;">set</span> SVN=&lt;location_of_svn_executable&gt;\bin\svn.<span style="color: #006600;">exe</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #ff0000;">"%1"</span>==<span style="color: #ff0000;">""</span> <span style="color: #66cc66;">&#40;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; echo usage: %<span style="color: #cc66cc;color:#800000;">0</span> workingCopy </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; exit /b </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">for</span> /f <span style="color: #ff0000;">"usebackq tokens=1*"</span> %%a in <span style="color: #66cc66;">&#40;</span>`%SVN% status %<span style="color: #cc66cc;color:#800000;">1</span>`<span style="color: #66cc66;">&#41;</span> <span style="color: #b1b100;">do</span> <span style="color: #66cc66;">&#40;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #ff0000;">"%%a"</span>==<span style="color: #ff0000;">"!"</span> <span style="color: #66cc66;">&#40;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; echo svn delete <span style="color: #ff0000;">"%%b"</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; %SVN% delete <span style="color: #ff0000;">"%%b"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Edit: Fixed a problem with the actual svn delete command.  It wasn't wrapped in %s so it was actually calling a SVN executable in my path.  I recently had to replace a hard drive so when I went to run this batch file, svn wasn't in this new system's path and failed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanblomquist.net/blog/2010/10/15/how-do-you-svn-delete-missing-working-copy-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yet Another Reason to Love Process Explorer — Part 2</title>
		<link>http://www.nathanblomquist.net/blog/2007/10/12/yet-another-reason-to-love-process-explorer-%e2%80%94-part-2/</link>
		<comments>http://www.nathanblomquist.net/blog/2007/10/12/yet-another-reason-to-love-process-explorer-%e2%80%94-part-2/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 20:27:46 +0000</pubDate>
		<dc:creator>nblom</dc:creator>
				<category><![CDATA[Process Explorer]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.nathanblomquist.net/blog/2007/10/12/yet-another-reason-to-love-process-explorer-%e2%80%94-part-2/</guid>
		<description><![CDATA[This is a bit different from my last post about Process Explorer. Process Explorer is so powerful that I accidentally killed a different process than I wanted. This wasn't through some fancy schmancy search with regular expressions and kill accident. I just highlighted a process and clicked the . I then proceeded to click 'Yes' [...]]]></description>
			<content:encoded><![CDATA[<p>This is a bit different from my last post about Process Explorer.  Process Explorer is so powerful that I accidentally killed a different process than I wanted. This wasn't through some fancy schmancy search with regular expressions and kill accident.  I just highlighted a process and clicked the <img src='http://www.nathanblomquist.net/blog/wp-content/uploads/2007/10/pe_red_x.PNG' alt='Process Explorer Red X' alt="Process Explorer Red X" />.</p>
<p>I then proceeded to click 'Yes' on the simple dialog: <img src='http://www.nathanblomquist.net/blog/wp-content/uploads/2007/10/pe_are_you_sure_want_to_kill_xxxx.PNG' alt='pe_are_you_sure_want_to_kill_xxxx.PNG' />.</p>
<p>Notice the blackened out word at the end of the Dialog's text?  Well that is essentially what my brain did when I read that dialog.</p>
<p>So, long story short I killed the wrong process.  Nothing seemed to break for a few hours.  Then when I went to debug a couple of things, I wasn't able to connect to a service that was supposed to be running.  I restarted somethings on my end, then remembered, "Oh yeah, I killed a random process earlier."  I restarted the killed service and lo and behold everything started working again.</p>
<p><strong>Lesson learned here kids:</strong> <em>Don't kill random processes and then wonder why stuff breaks!</em></p>
<p><a href="http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx">Process Explorer</a> is part of the <a href="http://www.microsoft.com/technet/sysinternals/default.mspx">Microsoft Sysinternals</a> set of utilities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanblomquist.net/blog/2007/10/12/yet-another-reason-to-love-process-explorer-%e2%80%94-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yet Another Reason to Love Process Explorer &#8212; Part 1</title>
		<link>http://www.nathanblomquist.net/blog/2007/10/08/yet-another-reason-to-love-process-explorer-part-1/</link>
		<comments>http://www.nathanblomquist.net/blog/2007/10/08/yet-another-reason-to-love-process-explorer-part-1/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 15:26:41 +0000</pubDate>
		<dc:creator>nblom</dc:creator>
				<category><![CDATA[Process Explorer]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.nathanblomquist.net/blog/2007/10/08/yet-another-reason-to-love-process-explorer-part-1/</guid>
		<description><![CDATA[Well, I just found another reason to love Process Explorer here: How To Identify What Programs Started svchost.exe in Windows. This article describes how to use the command line and/or Process Explorer to find out what the hell svchost.exe is doing. Open a command prompt and enter: tasklist /svc /FI "IMAGENAME eq svchost.exe" The above [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I just found another reason to love Process Explorer here: <a href="http://www.watchingthenet.com/how-to-identify-what-programs-started-svchostexe-in-windows.html">How To Identify What Programs Started svchost.exe in Windows</a>.</p>
<p>This article describes how to use the command line and/or Process Explorer to find out what the hell svchost.exe is doing.</p>
<blockquote><p>Open a command prompt and enter:</p>
<p>tasklist /svc /FI "IMAGENAME eq svchost.exe"</p>
<p>The above command will list all the svchost.exe processes and display the programs (DLL's) that have been started by svchost.exe.</p></blockquote>
<p><a href="http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx">Process Explorer</a> is part of the <a href="http://www.microsoft.com/technet/sysinternals/default.mspx">Microsoft Sysinternals</a> set of utilities.</p>
<p>Hopefully, this will become a series of posts.  We'll see!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanblomquist.net/blog/2007/10/08/yet-another-reason-to-love-process-explorer-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

