<?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>Zenovation's Blog &#187; windows</title>
	<atom:link href="http://zenovations.com/blog/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://zenovations.com/blog</link>
	<description>A blog about web design, programming, hosting, and virtualmin hacks</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:33:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Unable to start Apache, port 80 in use&#8211;Skype bastard process</title>
		<link>http://zenovations.com/blog/2010/05/unable-to-start-apache-port-80-in-use-skype-bastard-process/</link>
		<comments>http://zenovations.com/blog/2010/05/unable-to-start-apache-port-80-in-use-skype-bastard-process/#comments</comments>
		<pubDate>Sat, 29 May 2010 19:24:55 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=191</guid>
		<description><![CDATA[Today I was unable to start Apache using a new install of XAMPP. A quick netstat -o in cmd showed something was blocking port 80. After about an hour of searching, I discovered that port 80 was in use by Skype. No kidding. There is an advanced setting in skype to &#8220;Use port 80 and [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was unable to start Apache using a new install of XAMPP. A quick netstat -o in cmd showed something was blocking port 80.</p>
<p>After about an hour of searching, I discovered that port 80 was in use by Skype. No kidding. There is an advanced setting in skype to &#8220;Use port 80 and 443 as alternate incoming connections.&#8221; If this is checked (which it is by default) then a service is started on port 80 that blocks Apache. Ungh for bad ideas and even worse defaults.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2010/05/unable-to-start-apache-port-80-in-use-skype-bastard-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually remove a service from windows</title>
		<link>http://zenovations.com/blog/2010/02/manually-remove-a-service-from-windows/</link>
		<comments>http://zenovations.com/blog/2010/02/manually-remove-a-service-from-windows/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:18:19 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=181</guid>
		<description><![CDATA[Today I needed to manually remove a service from windows. I found this command line approach, which worked great for me.  Be sure to use the service name and not the display name: ?View Code DOSsc delete ServiceName You can find the service name by going to Control Panel -&#62; Administrative Tools -&#62; Services, right [...]]]></description>
			<content:encoded><![CDATA[<p>Today I needed to manually remove a service from windows. I found this command line approach, which worked great for me.  Be sure to use the service name and not the display name:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p181code2'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1812"><td class="code" id="p181code2"><pre class="dos" style="font-family:monospace;">sc delete ServiceName</pre></td></tr></table></div>

<p>You can find the service name by going to Control Panel -&gt; Administrative Tools -&gt; Services, right click the service and choose properties, the service name is shown there.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2010/02/manually-remove-a-service-from-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Run a Cygwin Command From Windows Scheduler (Scheduled Tasks)</title>
		<link>http://zenovations.com/blog/2009/06/how-to-run-a-cygwin-command-from-windows-scheduler-scheduled-tasks/</link>
		<comments>http://zenovations.com/blog/2009/06/how-to-run-a-cygwin-command-from-windows-scheduler-scheduled-tasks/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 19:42:31 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=125</guid>
		<description><![CDATA[After repeated problems setting up crond to run in cygwin (it just doesn&#8217;t like the user accounts, no matter how enthusiastically I argue that I&#8217;m me), I spent some time figuring out how to run a Cygwin command as a scheduled task from Windows scheduler. Here is what I figured out. Based on this mail [...]]]></description>
			<content:encoded><![CDATA[<p>After repeated problems setting up crond to run in cygwin (it just doesn&#8217;t like the user accounts, no matter how enthusiastically I argue that I&#8217;m me), I spent some time figuring out how to run a Cygwin command as a scheduled task from Windows scheduler. Here is what I figured out.</p>
<p>Based on <a href="http://www.mail-archive.com/cygwin@cygwin.com/msg71014.html">this mail archive post</a>, I created the following cygrun.bat file:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p125code6'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1256"><td class="code" id="p125code6"><pre class="bash" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">@</span><span style="color: #7a0874; font-weight: bold;">echo</span> off
    rem <span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">HOME</span>=c:\
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #ff0000;">&quot;%DEF_PATH%&quot;</span>==<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">DEF_PATH</span>=<span style="color: #000000; font-weight: bold;">%</span>PATH<span style="color: #000000; font-weight: bold;">%</span>
    <span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">PATH</span>=c:\cygwin\bin;<span style="color: #000000; font-weight: bold;">%</span>DEF_PATH<span style="color: #000000; font-weight: bold;">%</span>
    <span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">myargs</span>=<span style="color: #000000; font-weight: bold;">%*</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #ff0000;">&quot;%myargs%&quot;</span> == <span style="color: #ff0000;">&quot;&quot;</span> goto noarg
    rem <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000; font-weight: bold;">%</span>myargs<span style="color: #000000; font-weight: bold;">%</span>
    <span style="color: #c20cb9; font-weight: bold;">bash</span> <span style="color: #660033;">--rcfile</span> <span style="color: #000000; font-weight: bold;">%</span>HOME<span style="color: #000000; font-weight: bold;">%/</span>.bashrc <span style="color: #660033;">-i</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;%myargs%&quot;</span> 
    c:
    rem pause
    <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
    goto <span style="color: #7a0874; font-weight: bold;">exit</span>
    :noarg
&nbsp;
    rxvt <span style="color: #660033;">-e</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span> <span style="color: #660033;">--login</span> <span style="color: #660033;">-i</span>
&nbsp;
    :<span style="color: #7a0874; font-weight: bold;">exit</span>
    <span style="color: #7a0874; font-weight: bold;">exit</span></pre></td></tr></table></div>

<p>Then I tested the script from the command line as follows, until I had the syntax just so:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p125code7'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1257"><td class="code" id="p125code7"><pre class="bash" style="font-family:monospace;">c:
<span style="color: #7a0874; font-weight: bold;">cd</span> \cygwin
cygrun.bat cygwin_script arg1 arg2</pre></td></tr></table></div>

<p>Once I was able to run it happily, I added the scheduled task as follows:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p125code8'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1258"><td class="code" id="p125code8"><pre class="bash" style="font-family:monospace;">    Run: C:\WINDOWS\system32\CMD.EXE <span style="color: #000000; font-weight: bold;">/</span>x <span style="color: #000000; font-weight: bold;">/</span>c start <span style="color: #ff0000;">&quot;Some title&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>min
c:\cygwin\cygrun.bat cygwin_script arg1 arg2
    Start In: c:\cygwin     <span style="color: #000000; font-weight: bold;">&lt;</span>-- must be a real disk drive and path
    Run <span style="color: #c20cb9; font-weight: bold;">as</span>: domain\username</pre></td></tr></table></div>

<p>Unfortunately, I was never able to figure out how to redirect stdout and stderr. I tried plenty of variations on &#8220;>> /some/path/to/log.txt 2>&#038;1&#8243; with no joy. Instead, I just changed all the commands in the script and added that line on to each echo statement. Sad, but functional.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2009/06/how-to-run-a-cygwin-command-from-windows-scheduler-scheduled-tasks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Extending the Windows Clipboard</title>
		<link>http://zenovations.com/blog/2009/06/extending-the-windows-clipboard/</link>
		<comments>http://zenovations.com/blog/2009/06/extending-the-windows-clipboard/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 13:54:50 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[clipboard]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=57</guid>
		<description><![CDATA[For programmers and writers, being able to keep a history of copy/paste and access it with a hotkey is a serious boon. Here are some of the ways I use a clipboard tool daily (sometimes fifty times a day): Take notes quickly&#8211;store a url, email address, or command for reference later Reorganize a document&#8211;clip here, [...]]]></description>
			<content:encoded><![CDATA[<p>For programmers and writers, being able to keep a history of copy/paste and access it with a hotkey is a serious boon. Here are some of the ways I use a clipboard tool daily (sometimes fifty times a day):</p>
<ul>
<li>Take notes quickly&#8211;store a url, email address, or command for reference later</li>
<li>Reorganize a document&#8211;clip here, copy there, then paste it all together</li>
<li>Store commonly used commands and html strings for quick access</li>
<li>Passwords that I type more than ten times an hour</li>
<li>Storing things I use daily: IP addresses, dates, sql queries, urls</li>
</ul>
<p> </p>
<p>I&#8217;ve tried a few different tools, like <a href="http://www.comfort-software.com/clipboard-manager.html">Comfort Clipboard</a> and <a href="http://www.xneat.com/clipboard-manager/index.htm">XNeat Clipboard</a>. But nothing beats <a href="http://m8software.com/clipboards/spartan/tour/tour.htm">Spartan</a> for simple, direct, fast, and capable.</p>
<p>It allows you to store most any sort of formatted text, has 36 quick copy/paste slots, and multiple columns where you can drop text for different topics to store permanently and access them with a click.</p>
<p>If that wasn&#8217;t enough, it offers 10 different views, each with full hotkeys and columns. I&#8217;ve set mine up with CTRL+\ as a hotkey, so I have quick access to anything on the clipboard at the speed of typing.</p>
<p>It has a trial period, and is well worth the 20 bills for the full version.</p>
<p>For those with a little less robust needs, they also have a free version, <a href="http://101clips.com/freeclip.htm">101clips</a>, that is quite capable. Though I couldn&#8217;t live without the advanced capabilities of the full version.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2009/06/extending-the-windows-clipboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
