<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
>

<channel>
	<title>ITauthor &#187; Windows</title>
	<atom:link href="http://www.itauthor.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itauthor.com</link>
	<description>Stuff about technical writing and software</description>
	<lastBuildDate>Thu, 29 Jul 2010 07:27:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<!-- podcast_generator="Blubrry PowerPress/1.0.8" mode="advanced" entry="normal" -->
	<itunes:summary>Talking about technical writing, software and technology in general. The ITauthor Podcast is an advert-free, irregularly published show by technical writers for technical writers or anyone interested in software documentation or IT generally.</itunes:summary>
	<itunes:author>Alistair Christie - ITauthor.com</itunes:author>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.itauthor.com/images/ITauthor-PhotoLogo-300px.jpg" />
	<itunes:owner>
		<itunes:name>Alistair Christie - ITauthor.com</itunes:name>
		<itunes:email>comments@itauthor.com</itunes:email>
	</itunes:owner>
	<managingEditor>comments@itauthor.com (Alistair Christie - ITauthor.com)</managingEditor>
	<copyright>2006-2009</copyright>
	<itunes:subtitle>Talking about technical writing, software and technology in general.</itunes:subtitle>
	<itunes:keywords>itauthor, alistair christie, technology, writing, documentation </itunes:keywords>
	<image>
		<title>ITauthor &#187; Windows</title>
		<url>http://www.itauthor.com/images/ITauthor-PhotoLogo-144px.jpg</url>
		<link>http://www.itauthor.com/category/windows/</link>
	</image>
	<itunes:category text="Technology">
		<itunes:category text="Software How-To" />
		<itunes:category text="Tech News" />
		<itunes:category text="Podcasting" />
	</itunes:category>
		<item>
		<title>UNIX on Windows (Microsoft&#8217;s little secret)</title>
		<link>http://www.itauthor.com/2010/03/16/unix-on-windows-microsofts-little-secret/</link>
		<comments>http://www.itauthor.com/2010/03/16/unix-on-windows-microsofts-little-secret/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 00:57:17 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2010/03/16/unix-on-windows-microsofts-little-secret/</guid>
		<description><![CDATA[For many years now, Microsoft has had a technology that allows you to run UNIX commands within Windows. More importantly it provides an easy-ish way to port UNIX programs onto Windows. I say easy-ish because it's not without its issues and it's not safe to assume that something you built for Solaris or RedHat Linux [...]]]></description>
			<content:encoded><![CDATA[<p>For many years now, Microsoft has had a technology that allows you to run UNIX commands within Windows. More importantly it provides an easy-ish way to port UNIX programs onto Windows. I say easy-ish because it's not without its issues and it's not safe to assume that something you built for Solaris or RedHat Linux will run on this Windows subsystem without further work. This means thorough testing becomes a must if you develop for UNIX and deploy on Windows.</p>  <p>The name of this technology? It used to be called Interix, then became Services for UNIX (SFU) as they added more bits on top of Interix, and is now known as Subsystem for UNIX-based Applications (SUA). The current name is more of a mouthful, but is a more accurate name.</p>  <p>Microsoft don't advertise SUA. Some of us have been using it, and its predecessors, for years. But, on the whole, it's a pretty well kept little secret. And, not surprisingly, it's only available on the server versions of Windows, or the desktop versions aimed at business users and IT professionals.</p>  <p>So, to run SUA, you need one of the following versions of Windows:</p>  <ul>   <li>Windows Server 2008 </li>    <li>Windows Server 2003 R2 </li>    <li>Windows 7 - Enterprise or Ultimate Edition </li>    <li>Windows Vista - Enterprise or Ultimate Edition      <br />&#160;&#160;&#160;&#160;&#160;&#160; </li> </ul>  <h4>To enable and install SUA:</h4>  <ol>   <li>Go to the Control Panel. </li>    <li>Click <strong>Programs and Features</strong>. </li>    <li>Click <strong>Turn Windows features on or off</strong> in the left panel. </li>    <li>Select the check box for <strong>Subsystem for UNIX-based Applications</strong>.       <br />      <br /><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="SUA-enable" border="0" alt="SUA-enable" src="http://www.itauthor.com/wp-content/uploads/2010/03/SUAenable.png" width="701" height="527" /> </li>    <li>Click <strong>OK</strong>. </li>    <li>In the start menu, click <strong>All Programs</strong> &gt; <strong>Subsystem for UNIX-based Applications</strong> &gt; <strong>Download Utilities for Subsystem for UNIX-based Applications</strong>.       <br />      <br /><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="SUA-download" border="0" alt="SUA-download" src="http://www.itauthor.com/wp-content/uploads/2010/03/SUAdownload.png" width="416" height="277" /> </li>    <li>Download the SUA installer from the Microsoft website. </li>    <li>Once downloaded, double-click <strong>Utilities and SDK for UNIX-based Applications_X86.exe</strong> in your downloads folder. </li>    <li>Step through the auto-installer.      <br />      <br />I'd recommend you choose the custom setup and enable the GNU Utilities and then, in the following step, select all three check boxes to allow su to root, enable setuid and enable case sensitivity. </li> </ol>  <p>&#160;&#160;&#160;&#160;&#160;&#160; <br />Now, you can go back to the <strong>Subsystem for UNIX-based Applications</strong> start menu item and launch a Korn shell or a C shell and, within that shell, run UNIX commands:</p>  <p>&#160;<img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="SUA-shell2" border="0" alt="SUA-shell2" src="http://www.itauthor.com/wp-content/uploads/2010/03/SUAshell2.png" width="677" height="340" /> </p>  <p>I know a lot of developers who don't like SUA, but personally I've always liked it. It's really handy sometimes to have UNIX commands available within Windows, and it's a great way to familiarise yourself with UNIX tools like vi.</p>  <p>An important resource for SUA users is the SUA Tool Warehouse:   <br /><a title="http://www.suacommunity.com/tool_warehouse.htm" href="http://www.suacommunity.com/tool_warehouse.htm">http://www.suacommunity.com/tool_warehouse.htm</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2010/03/16/unix-on-windows-microsofts-little-secret/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft fixes PDF creation bug</title>
		<link>http://www.itauthor.com/2009/08/23/microsoft-fixes-pdf-creation-bug/</link>
		<comments>http://www.itauthor.com/2009/08/23/microsoft-fixes-pdf-creation-bug/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 12:30:01 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[FrameMaker]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/08/23/microsoft-fixes-pdf-creation/</guid>
		<description><![CDATA[There's a periodic problem with creating PDFs where the application you’re using to create the PDF (e.g. Word or FrameMaker) crashes or, worse, it completes, seemingly successfully, but the resulting PDF has chunks missing from it. The example Microsoft gives is a document with three sections in it but the PDF that you generate ends [...]]]></description>
			<content:encoded><![CDATA[<p>There's a periodic problem with creating PDFs where the application you’re using to create the PDF (e.g. Word or FrameMaker) crashes or, worse, it completes, seemingly successfully, but the resulting PDF has chunks missing from it. </p>  <p>The example Microsoft gives is a document with three sections in it but the PDF that you generate ends up containing Section 1 followed by Section 3.</p>  <p>You might have encountered this problem if you’re a FrameMaker user and assumed it was an Adobe issue. It wasn’t, it was a Windows issue. </p>  <p>Here's the hotfix:   <br /><a href="http://support.microsoft.com/?id=952909">http://support.microsoft.com/?id=952909</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/08/23/microsoft-fixes-pdf-creation-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restoring Vista&#8217;s missing &#8220;Text Document&#8221; shortcut</title>
		<link>http://www.itauthor.com/2009/04/09/restoring-vistas-missing-text-document-shortcut/</link>
		<comments>http://www.itauthor.com/2009/04/09/restoring-vistas-missing-text-document-shortcut/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 21:34:37 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/04/09/restoring-vistas-missing-text-document-shortcut/</guid>
		<description><![CDATA[Despite all the bad press it got, I’ve always liked Vista. I actually don’t think it was any great shakes. There are no huge benefits as far as I can tell. Being able to start an application by pressing the Windows key, typing the first few letters of the application’s name and pressing Enter is [...]]]></description>
			<content:encoded><![CDATA[<p>Despite all the bad press it got, I’ve always liked Vista. I actually don’t think it was any great shakes. There are no huge benefits as far as I can tell. Being able to start an application by pressing the Windows key, typing the first few letters of the application’s name and pressing Enter is great if, like me, you like to keep your hands on the keyboard rather than using the mouse. Perversely, some might say, I like UAC, and over all Vista does <em>look</em> nicer that XP.</p>  <p>But one thing that’s always irked me is the fact that, for some reason, Microsoft decided to remove the <strong>Text Document</strong> option from the right-click &gt; <strong>New</strong> option in Windows Explorer. </p>  <p><img title="text-document-option" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="338" alt="text-document-option" src="http://www.itauthor.com/wp-content/uploads/2009/04/textdocumentoption.png" width="514" border="0" /> </p>  <p>I quite often add little text documents here and there and I always found this shortcut in XP provided a handy way of doing this. You could just right-click &gt; <strong>New</strong> &gt; <strong>Text Document</strong>, then double-click the file that was created and edit the document in your default text editor.</p>  <p>Putting this shortcut back again involves editing your Windows Registry. Not for the feint-hearted. But fortunately, someone has done this for us and created a <strong>.reg</strong> file that you can just save and then double-click to add the settings (provided you have administrative privileges for your PC).</p>  <p>You can get this file here:</p>  <p><a title="http://www.vistax64.com/tutorials/154554-new-context-menu-restore-default-menu-items.html" href="http://www.vistax64.com/tutorials/154554-new-context-menu-restore-default-menu-items.html">http://www.vistax64.com/tutorials/154554-new-context-menu-restore-default-menu-items.html</a></p>  <p>Scroll down the page to the heading <b>To Restore Text Document</b> and click the <strong>Download</strong> button.</p>  <p>Follow the instructions on the page. It says you need to restart your computer. In fact you can just end the Explorer process in Task Manager and start a new Explorer process and you’ll have the shortcut.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/04/09/restoring-vistas-missing-text-document-shortcut/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Coming soon – Microsoft Help 3</title>
		<link>http://www.itauthor.com/2009/03/12/coming-soon-microsoft-help-3/</link>
		<comments>http://www.itauthor.com/2009/03/12/coming-soon-microsoft-help-3/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 01:34:58 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Online help]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/03/12/coming-soon-microsoft-help-3/</guid>
		<description><![CDATA[In this interview, from Channel 9, April Reagan (a Program Manager at Microsoft) talks about the up-coming Microsoft Help 3. This client-side help system will be used first in the MSDN Library within Visual Studio 2010, but will be made available for other software companies to use. Note: I found the first half of the [...]]]></description>
			<content:encoded><![CDATA[<p>In this interview, from <a href="http://channel9.msdn.com/posts/Dan/April-Reagan-The-Future-of-MSDN-Help/">Channel 9</a>, April Reagan (a Program Manager at Microsoft) talks about the up-coming Microsoft Help 3. This client-side help system will be used first in the MSDN Library within Visual Studio 2010, but will be made available for other software companies to use.</p>
<p>Note: I found the first half of the video the most interesting. After that the interview moves onto other things and only returns to help towards the end. Unfortunately there&rsquo;s not a whole lot of detail about how the new help system will differ from good old HTML Help. There&rsquo;s no demo, for instance. Still it&rsquo;s interesting that Microsoft are still investing in the idea of client-side help.</p>
<div style="height: 525px; width: 700px;" id="ctl00_MainPlaceHolder_Starter_MediaPlayer"><object height="525" width="700" data="data:application/x-silverlight," type="application/x-silverlight-2">
<param name="source" value="/wp-content/uploads/2009/03/VideoPlayer2009_02_11.xap" />
<param name="initParams" value="m=http://medioh.tv/videos/qx-ozgJ-9qpDrD9R18f18HZYj5Q/asset.wmv,autostart=false,autohide=true,showembed=false,thumbnail=/wp-content/uploads/2009/03/AprilReagan.png" />
<param name="background" value="#00FFFFFF" /></object></div>
<p style="font-size: 8pt; color: rgb(170, 170, 170);"><br />
<b>Note</b>: This video belongs to Dan Fernandez and Channel 9.<br />
If you're having problems viewing the above video, try the  <a href="http://channel9.msdn.com/posts/Dan/April-Reagan-The-Future-of-MSDN-Help/" style="color: rgb(170, 170, 170);">orignal video on Channel 9</a>,<br />
or <a href="mms://mschnlnine.wmod.llnwd.net/a1809/d1/ch9/0/FutureOfMSDNHelp_s_ch9.wmv" style="color: rgb(170, 170, 170);">view it in Windows Media Player</a>.</p>
<!-- Alternative URL for media: http://www.itauthor.com/wp-content/uploads/2009/03/FutureOfMSDNHelp.wmv -->]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/03/12/coming-soon-microsoft-help-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vista&#8217;s dumbed down disk defragmenter</title>
		<link>http://www.itauthor.com/2009/03/07/vistas-dumbed-down-disk-defragmenter/</link>
		<comments>http://www.itauthor.com/2009/03/07/vistas-dumbed-down-disk-defragmenter/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 21:18:38 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/03/07/vista-disk-defragmenter/</guid>
		<description><![CDATA[Disk defragmenter in Vista no longer gives you the graphical representation of a fragmented disk gradually becoming less and less fragmented. It doesn't even tell you how fragmented your disks are. Instead all you get is a message telling you that the disk is being fragmented and &#34;This may take from a few minutes to [...]]]></description>
			<content:encoded><![CDATA[<p>Disk defragmenter in Vista no longer gives you the graphical representation of a fragmented disk gradually becoming less and less fragmented. It doesn't even tell you how fragmented your disks are. Instead all you get is a message telling you that the disk is being fragmented and &quot;This may take from a few minutes to a few hours.&quot; </p>  <p><img title="disk-defrag" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="306" alt="disk-defrag" src="http://www.itauthor.com/wp-content/uploads/2009/03/diskdefrag.png" width="559" border="0" /> </p>  <p>This is annoying, because you have no idea where in that vague time range your defragmentation job will fall. Can you kick it off when you go for lunch and expect it to be complete by the time you get back? Or is it an overnight job? However, it's better than so many other progress messages that attempt to tell you how long you need to wait, but inevitably lie to you. For example, I've been having problems with Outlook recently. I had to kill and restart it twice today. The second time it came back it had the familiar message &quot;The data file 'Personal Folders' was not closed properly&quot; and a progress bar with a “seconds remaining” count. </p>  <p>Microsoft seconds obviously don’t work like normal seconds because after waiting for the count to work its way slowly down to &quot;20 Seconds Remaining&quot; I had to sit there for at least 30 seconds before it changed to 25 Seconds, then 30, then 35, then 40, then 45, then 50. From &quot;50 seconds remaining&quot; it took 2 mins 10 seconds before it finally finished and Outlook came to life. </p>  <p>If you don't <em>know</em> how long something's going to take, don't just make something up. And don't mislead the user into expecting something to take less time than it really will. The principle should be that software should not lie. </p>  <p>And don’t believe the Microsoft hype that disk defragmentation is now automated in Vista, so you don’t need to think about it any more. In fact, the Disk Defragmenter’s scheduler is set, by default, to kick off at 1.00 am every Wednesday morning. That’s fine if you leave your computer switched on every night. But if you never leave your computer on on a Tuesday night, it’ll never get defragged.</p>  <p></p>  <p>Personally, I liked the old Disk Defragmenter, with its coloured bands.</p>  <p><img title="disk-defragmenter-oldstyle" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="415" alt="disk-defragmenter-oldstyle" src="http://www.itauthor.com/wp-content/uploads/2009/03/diskdefragmenteroldstyle.png" width="550" border="0" /></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/03/07/vistas-dumbed-down-disk-defragmenter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>God damned exception</title>
		<link>http://www.itauthor.com/2009/02/16/god-damned-exception/</link>
		<comments>http://www.itauthor.com/2009/02/16/god-damned-exception/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 21:02:00 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Word]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/02/16/god-damned-exception/</guid>
		<description><![CDATA[I was late leaving work this evening and I was rushing to close down my applications so that I could shut down my laptop. I closed a Word document and immediately pulled the cable to my second monitor. The following error message popped up: This isn&#8217;t a Photoshop job, it&#8217;s a real error message, presumably [...]]]></description>
			<content:encoded><![CDATA[<p>I was late leaving work this evening and I was rushing to close down my applications so that I could shut down my laptop. I closed a Word document and immediately pulled the cable to my second monitor. The following error message popped up:</p>
<p><img height="180" width="256" border="0" title="god-damned-exception-Word" style="border: 0px none ; display: inline;" alt="god-damned-exception-Word" src="http://www.itauthor.com/wp-content/uploads/2009/02/goddamnedexceptionword.jpg" /></p>
<p>This isn&rsquo;t a Photoshop job, it&rsquo;s a real error message, presumably tucked away in some remote corner of Microsoft Word.</p>
<hr />
<p><strong>Update</strong>:</p>
<p>Turns out it's nothing to do with Word (more's the pity). It's a &quot;feature&quot; of <a href="http://sourceforge.net/projects/notepad-plus/">Notepad++</a>, which is my text editor of choice right now. I must have been closing down Notepad++ at the same time as Word.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/02/16/god-damned-exception/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting tag changes to show up in Windows Media Player</title>
		<link>http://www.itauthor.com/2008/12/08/getting-tag-changes-to-show-up-in-windows-media-player/</link>
		<comments>http://www.itauthor.com/2008/12/08/getting-tag-changes-to-show-up-in-windows-media-player/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 15:26:03 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/12/08/getting-tag-changes-to-show-up-in-windows-media-player/</guid>
		<description><![CDATA[I was tagging an MP3 file and I noticed that the tag changes didn't show up in Windows Media Player 11. The rule seems to be that if you play an MP3 in Windows Media Player, WMP reads the tags first time, stores them in its database and from then on, if you open that [...]]]></description>
			<content:encoded><![CDATA[<p>I was tagging an MP3 file and I noticed that the tag changes didn't show up in Windows Media Player 11. The rule seems to be that if you play an MP3 in Windows Media Player, WMP reads the tags first time, stores them in its database and from then on, if you open that same file (same file name in same directory) then WMP gets the metadata from its local database, rather than reading them off the file. <p>So you can force the new tags to show up by either changing the name of the file, or moving the file to a new location, but as soon as you change its name back to what it was, or move it back to the directory where it was the first time you played it, the original tags will show up again in WMP's list pane. <p>I thought clearing the cache would sort this problem, but if you go to <strong>Tools </strong>&gt; <strong>Options </strong>&gt; <strong>Privacy </strong>and click <strong>Clear Caches</strong>, the old tags still show up. <p>The solution is fairly drastic. You've got to blow away the existing database. The effect is that from that point on WMP starts reindexing all your media as you play it - filling up its database again. Note: you don't lose your playlists - these are stored elsewhere. <p>Here's what to do: <ol> <li>In Windows Explorer, go to the following directory:<br /><br /><em>On XP:<br /></em><strong>C:\Documents and Settings\<em>$USER$</em>\Local Settings\Application Data\Microsoft\Media Player\</strong><br /><em><br />On Vista:</em><br /><strong>C:\Users\<em>$USER$</em>\AppData\Local\Microsoft\Media Player</strong> </li> <li>Delete any files you find named <strong>CurrentDatabase_</strong>*<strong>.wmdb</strong> and <strong>LocalMLS_</strong>*<strong>.wmdb</strong>. <br /><br />If you can't delete the files, make sure Media Player isn't running. You may need to use Task Manager to kill off any Media Player processes that are running. For example:<br /><br /><strong>wmpnxcfg.exe<br />wmpnetwk.exe </strong>(you have to list processes by other users to see this) </li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/12/08/getting-tag-changes-to-show-up-in-windows-media-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New article: taking control of the iPlayer</title>
		<link>http://www.itauthor.com/2008/11/26/new-article-taking-control-of-the-iplayer/</link>
		<comments>http://www.itauthor.com/2008/11/26/new-article-taking-control-of-the-iplayer/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 00:12:31 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">/2008/11/26/new-article-taking-control-of-the-iplayer/</guid>
		<description><![CDATA[The BBC iPlayer is a great bit of technology, but it's also a peer-to-peer file sharing client and sometimes you don't want lots of data being uploaded from your computer when you're trying to use that bandwidth for something else. I've just added an article (my first since revamping this site) that describes how to [...]]]></description>
			<content:encoded><![CDATA[<p>The BBC iPlayer is a great bit of technology, but it's also a peer-to-peer file sharing client and sometimes you don't want lots of data being uploaded from your computer when you're trying to use that bandwidth for something else.</p>
<p>I've just added an article (my first since revamping this site) that describes how to take control of the iPlayer's KService Windows service and the iPlayer program itself: <strong>khost.exe</strong>.</p>
<p>Read the article: <a href="/articles/preventing-bbc-iplayer-running-all-the-time/">Preventing BBC iPlayer running all the time</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/11/26/new-article-taking-control-of-the-iplayer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding ^M characters in vi</title>
		<link>http://www.itauthor.com/2008/11/25/adding-m-characters-in-vi/</link>
		<comments>http://www.itauthor.com/2008/11/25/adding-m-characters-in-vi/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 17:48:44 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[UNIX/Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">/2008/11/25/adding-m-characters-in-vi/</guid>
		<description><![CDATA[This is an obscure one. There are lots of Web pages out there to tell you how to get rid of ^M characters in text files (dos2unix is your friend) but occasionally you need to edit a settings file on UNIX server where the file is normally edited using a Windows client. If you don't [...]]]></description>
			<content:encoded><![CDATA[<p>This is an obscure one. There are lots of Web pages out there to tell you how to get rid of ^M characters in text files (<strong>dos2unix</strong> is your friend) but occasionally you need to edit a settings file on UNIX server where the file is normally edited using a Windows client. If you don't add the ^M character at the end of each line, the lines will run together next time the file is viewed in Windows.</p> <p>To add a ^M in vi enter <strong>Ctrl+V</strong> followed by <strong>Ctrl+M</strong>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/11/25/adding-m-characters-in-vi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revealing Vista&#8217;s hidden Administrator account</title>
		<link>http://www.itauthor.com/2008/11/25/revealing-vistas-hidden-administrator-account/</link>
		<comments>http://www.itauthor.com/2008/11/25/revealing-vistas-hidden-administrator-account/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 12:58:46 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">/2008/11/25/revealing-vistas-hidden-administrator-account/</guid>
		<description><![CDATA[Windows always has an account called Administrator that is similar to root on a UNIX machine. Note: this special account has higher privileges than a normal administrator account (i.e. an account that belongs to the Administrators group) and sometimes you need to run programs as Administrator. Annoyingly, on Vista, the right-click menu option "Run as [...]]]></description>
			<content:encoded><![CDATA[<p>Windows always has an account called Administrator that is similar to root on a UNIX machine. Note: this special account has higher privileges than a normal administrator account (i.e. an account that belongs to the Administrators group) and sometimes you need to run programs as Administrator. Annoyingly, on Vista, the right-click menu option "Run as administrator" actually means "Run as <em>an</em> administrator" not "Run as the Administrator user". My colleague Colin Paterson has written a very useful application that allows you to actually run programs as Administrator. But first you've got to know Administrator's password. </p> <p>By default you don't get to see the Administrator account in the Manage Accounts window, so you can't set the password for Administrator. So first up you've got to show this hidden account. Doing any of this assumes that you're logged on to the PC as a local administrator.</p> <p>To show the hidden Administrator account:</p> <ol> <li>In the search box on the Start menu, enter:<br /><strong>cmd</strong></li> <li>Right-click <strong>cmd.exe</strong> in the list that is displayed.</li> <li>Choose <strong>Run as administrator</strong>.</li> <li>In the command console, enter:<br /><strong>net user administrator /active:yes</strong></li></ol> <p>That's it, your done. Refresh the Manage Accounts window and the Administrator account will show up. Now you can select it and set its password.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/11/25/revealing-vistas-hidden-administrator-account/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Speeding up Windows Explorer in Vista</title>
		<link>http://www.itauthor.com/2008/11/17/speeding-up-windows-explorer-in-vista/</link>
		<comments>http://www.itauthor.com/2008/11/17/speeding-up-windows-explorer-in-vista/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 17:12:12 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">/2008/11/17/speeding-up-windows-explorer-in-vista/</guid>
		<description><![CDATA[I'm not particularly impressed by Vista, but on the other hand I've never been that bothered by it either. The way some people talk about it you'd think it was almost unusable. Of course it's not. The problem for Vista, I think, is that Microsoft made people wait and wait and wait for it and [...]]]></description>
			<content:encoded><![CDATA[<p>I'm not particularly impressed by Vista, but on the other hand I've never been that bothered by it either. The way some people talk about it you'd think it was almost unusable. Of course it's not. The problem for Vista, I think, is that Microsoft made people wait and wait and wait for it and then when it finally came out it's (on the surface at least) not a whole lot different to Windows XP. </p> <p>Windows 7 is getting some rave reviews after the recent PDC. Personally I'd just like Microsoft to fix Windows Explorer. </p> <p>For me, the best thing in Vista is finding things from the Start menu. That's the way I start most applications now: Windows key, type the first few letters of the application you want, press Enter. The worst thing about Vista is that there are real problems with Windows Explorer. If you're on a network it can work like a dog. After pressing Windows key + E it can take over a minute before you can do anything in the Windows Explorer window. But I've discovered one way of speeding up Windows Explorer a little: remove your network drives.</p> <p>Right-click on <strong>Network </strong>and choose <strong>Disconnect Network Drive </strong>and remove any drives that show up. This brought my start up time for Windows Explorer down to 18 seconds. Still an annoying delay, but just about bearable.</p> <p><em>I should add that I suspect the problem I'm having has something to do with the fact that my work network runs on Windows NT, which is not supported for use with Vista. Because of this, my laptop is not part of the domain. If, like me, you update Windows as one of the first things you do with your new laptop, and you put SP1 on it, you won't be able to join an NT domain. If you're in this situation you should make sure you add your laptop to the domain <strong>before</strong> you add SP1.</em></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/11/17/speeding-up-windows-explorer-in-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu on Virtual PC</title>
		<link>http://www.itauthor.com/2008/09/12/ubuntu-on-virtual-pc/</link>
		<comments>http://www.itauthor.com/2008/09/12/ubuntu-on-virtual-pc/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 11:02:55 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[UNIX/Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/09/12/ubuntu-on-virtual-pc/</guid>
		<description><![CDATA[I'm quite happy using Windows and don't see much appeal in Linux. I have not-so-fond memories of wasting lots of my free time in the past installing and configuring Linux. That was back in the days before graphical Linux installers, when getting a Linux distro to a usable state was a fiendishly complicated ordeal. So [...]]]></description>
			<content:encoded><![CDATA[<p>I'm quite happy using Windows and don't see much appeal in Linux. I have not-so-fond memories of wasting lots of my free time in the past installing and configuring Linux. That was back in the days before graphical Linux installers, when getting a Linux distro to a usable state was a fiendishly complicated ordeal. So I don't have any particular love for Linux as an operating system.</p>  <p>However, it's occasionally useful to have a Linux machine available to test something out, and great way to do this is to use a virtual machine. <a href="http://www.vmware.com/products/player/">VMware</a> would be your first choice if you want a virtual Linux machine, but, with a little effort, you can also use <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&amp;displaylang=en">Microsoft Virtual PC</a>.</p>  <p>Here's how to get Ubuntu on Virtual PC:</p>  <ol>   <li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&amp;displaylang=en">Download and install Virtual PC</a>.       <br />&#160; </li>    <li><a href="http://www.ubuntu.com/getubuntu/download">Download an Ubuntu Desktop Edition ISO</a>. I downloaded 8.04 (&quot;Hardy Heron&quot;).       <br />&#160;&#160; </li>    <li>Start Virtual PC, and <a href="http://arcanecode.wordpress.com/2006/09/20/virtual-pc-step-by-step/">create a new machine</a>.       <br /><embed src="http://v.wordpress.com/uagCcd6h/flv" width="400" height="325" type="application/x-shockwave-flash" flashvars="blog_domain=http://arcanecode.wordpress.com&amp;width=400&amp;height=325" />       <br />(Video by Robert Cain: <a title="http://arcanecode.wordpress.com/" href="http://arcanecode.wordpress.com/">http://arcanecode.wordpress.com/</a>)       <br />&#160;&#160; <br />Note: Make sure to pick &#8220;Other&#8221; as the OS type.       <br />Give the machine 512 MB of RAM.       <br />&#160;&#160; </li>    <li>Start the new virtual machine.      <br />&#160;&#160; </li>    <li>When it starts up, go to the CD menu and choose <strong>Capture ISO image</strong>, pointing it at the desktop ISO you downloaded from Ubuntu. Capturing an image means the ISO file will show up like a CD in the virtual machine.       <br />&#160;&#160; </li>    <li>Ubuntu will start running from the CD image. When it starts, choose your language and then, at the next screen, press F4 to select an alternate starting mode.      <br /><img height="341" alt="ubuntu-install" src="http://www.itauthor.com/wp-content/uploads/2008/09/ubuntu-install.jpg" width="399" border="0" />       <br />&#160;&#160; </li>    <li>When the menu pops up, change to <strong>Safe graphics mode</strong> and press Enter.       <br />There is a problem with the mouse not working in Virtual PC and this takes a little fiddling about to fix it. There is also an issue with sound (see the link at the bottom of this post for details about how to fix that - personally I didn't need sound, so I didn't bother trying to fix that).       <br />&#160;&#160; </li>    <li>Press F6.      <br />&#160; </li>    <li>Edit the command that is displayed, using the arrow keys to move the cursor to the end of the line and adding a space followed by &#8220;noreplace-paravirt&#8221; (without the quote marks) to the end of the command, then press Enter.      <br />&#160;&#160; </li>    <li>Leave the selected option as <strong>Try Ubuntu without any change to your computer</strong>.       <br />Note: do <em>not</em> choose the <strong>Install Ubuntu</strong> option.       <br />&#160;&#160; </li>    <li>After Ubuntu loads (note that at this point it's just running from the CD image, it's not installed on the virtual machine) double-click <strong>Install</strong> on the desktop.       <br />This runs the Ubuntu installer.       <br />&#160;&#160; </li>    <li>Follow through the installer. This part is very simple.      <br />&#160;&#160;&#160; </li>    <li>Once the install is done, go back into the CD menu (right-hand Alt key gets the mouse pointer out of the virtual machine) and release the ISO, otherwise when you reboot you'll go back to the installation menu.      <br />&#160;&#160; </li>    <li>Click the red button, top right of the Ubuntu desktop and shutdown the virtual machine.      <br />If it hangs at this point, don't worry about it.       <br />&#160;&#160; </li>    <li>Close the Virtual PC window and choose to shut down the machine.      <br />&#160; </li>    <li>Go into the Settings for the virtual machine.      <br />Robert Cain's video shows how to edit the Settings if you've never done this before:       <br /><embed src="http://v.wordpress.com/cMPAX2ZR/flv" width="400" height="325" type="application/x-shockwave-flash" flashvars="blog_domain=http://arcanecode.wordpress.com&amp;width=400&amp;height=325" />       <br />&#160; </li>    <li>Make sure Networking is set to the network adaptor that your PC is currently using.      <br />Note: if you want to be able to connect to/from the Ubuntu VM and your host PC, you need to use the Microsoft Loopback Adaptor. If this doesn't show up in the list of network adaptors you'll have to install it first. This is really easy. See <a title="http://support.microsoft.com/kb/839013" href="http://support.microsoft.com/kb/839013">http://support.microsoft.com/kb/839013</a>, or this video from <a title="http://veedee-eyes.com" href="http://veedee-eyes.com">http://veedee-eyes.com</a>       <br /><embed src="http://www.youtube.com/v/uIKOQHbMXOo&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" width="425" height="344" type="application/x-shockwave-flash" allowfullscreen="true" />      <br />&#160;&#160; </li>    <li>Save the Settings.     <br />&#160;&#160; </li>    <li>Start up the virtual machine again.      <br />&#160;&#160; </li>    <li>Once it gets to the &quot;GRUB&quot; line, press <strong>Esc</strong>.       <br />You should now see 3 entries to select from.       <br />&#160;&#160; </li>    <li>Leave <strong>Ubuntu 8.04, kernel 2.6.24-16-generic</strong> selected and press <strong>e</strong>.       <br />&#160;&#160; </li>    <li>On the next page, select the second entry that reads <strong>kernel /boot/vmlinuz&#8230;</strong> and press <strong>e</strong> again.       <br />&#160;&#160;&#160; </li>    <li>You will see a command line that ends with &#8220;xforcevesa&#8221;. Edit this, as before, adding a space followed by &#8220;noreplace-paravirt&#8221; (without the quotes) at the end of this line, then press Enter.      <br />&#160;&#160;&#160; <br />You are now back at the previous selection screen with the entry <strong>kernel /boot/vmlinuz&#8230;</strong> still selected.       <br />&#160;&#160; </li>    <li>Press <strong>b</strong> and Ubuntu should boot correctly.       <br />&#160;&#160; </li>    <li>Once Ubuntu has loaded, open a terminal window (<strong>Applications</strong> &gt; <strong>Accessories</strong> &gt; <strong>Terminal</strong>) and on the command line enter:       <br />&#160;&#160;&#160; <br /><font face="Courier New">sudu nano /boot/grub/menu.lst</font>       <br />&#160; </li>    <li>Enter your password and page down to near the bottom and locate &#8220;kernel /boot/vmlinuz&#8230;&quot; in the &#8220;Ubuntu 8.04, kernel 2.6.24-16-generic&#8221; section.      <br />&#160;&#160; </li>    <li>Move the cursor to the end of the line after xforcevesa and add a space followed by &#8220;noreplace-paravirt&#8221; (no quotes).      <br />&#160;&#160; </li>    <li>Ctrl + O to write out.      <br />&#160;&#160; </li>    <li>Enter to accept the name.      <br />&#160; </li>    <li>Ctrl + X to close the file.      <br />&#160;&#160; <br />Ubuntu should now be running inside Virtual PC.      <br />&#160;&#160; </li>    <li>Click the network icon in the upper right side of the Ubuntu toolbar:     <br /><img height="65" alt="ubuntu-network" src="http://www.itauthor.com/wp-content/uploads/2008/09/ubuntu-network.jpg" width="399" border="0" />&#160; <br />&#160;&#160; </li>    <li>Choose <strong>Wired Network</strong>. </li> </ol>  <p>That's it.</p>  <p>Now you can fire up an Ubuntu machine whenever you need it. And when you close it down, choose <strong>Save State</strong> and when you start it up again you'll be able to pick up exactly where you left off - for example, any programs that were running when you saved state will still be running when you start up the VM again in six months time.</p>  <p> I found the following site extremely helpful:</p>  <p><a title="http://arcanecode.wordpress.com/2008/04/24/installing-ubuntu-804-under-microsoft-virtual-pc-2007/" href="http://arcanecode.wordpress.com/2008/04/24/installing-ubuntu-804-under-microsoft-virtual-pc-2007/">http://arcanecode.wordpress.com/2008/04/24/installing-ubuntu-804-under-microsoft-virtual-pc-2007/</a></p>  <p>If you get stuck, it's worth reading through all the comments on this page, which provide a lot of useful information.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/09/12/ubuntu-on-virtual-pc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Task Manager shortcut</title>
		<link>http://www.itauthor.com/2008/08/12/task-manager-shortcut/</link>
		<comments>http://www.itauthor.com/2008/08/12/task-manager-shortcut/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 08:59:04 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/08/12/task-manager-shortcut/</guid>
		<description><![CDATA[Another useful keyboard shortcut: Ctrl + Shift + Esc&#160;&#160;&#160;&#160;&#160;&#160;&#160; Displays the Windows Task Manager My morning routine when I'm working from home involves going into Task Manager and closing down everything I don't absolutely need to be running just to make working on a VPN ever so slightly more speedy.]]></description>
			<content:encoded><![CDATA[<p>Another useful keyboard shortcut:</p>  <p><strong>Ctrl</strong> + <strong>Shift</strong> + <strong>Esc</strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Displays the Windows Task Manager</p>  <p>My morning routine when I'm working from home involves going into Task Manager and closing down everything I don't absolutely need to be running just to make working on a VPN ever so slightly more speedy. </p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/08/12/task-manager-shortcut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Texter &#8211; speed typing for cheats</title>
		<link>http://www.itauthor.com/2008/08/07/texter-speed-typing-for-cheats/</link>
		<comments>http://www.itauthor.com/2008/08/07/texter-speed-typing-for-cheats/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 19:46:06 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Authoring tools]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/08/07/texter-speed-typing-for-cheats/</guid>
		<description><![CDATA[I love keyboard shortcuts. Each little shortcut saves you a few seconds and over a year that's a lot less time spent clicking around, choosing from menus and more time being productive. It's all about getting on with the stuff you want to be getting on with, and spending less time/effort just getting there. So [...]]]></description>
			<content:encoded><![CDATA[<p>I love keyboard shortcuts. Each little shortcut saves you a few seconds and over a year that's a lot less time spent clicking around, choosing from menus and more time being productive. It's all about getting on with the stuff you want to be getting on with, and spending less time/effort just getting there.</p>  <p>So here's a good one. Texter is a little application written by someone at <a href="http://lifehacker.com/">LifeHacker</a>. When you run it it sits in your system tray and replaces predefined sets of characters with longer text. So if you type the same thing several times a day, you can type a few characters and it's automatically replaced by your name as you type. For example, to type Alistair Christie I could just type ac, hit the Enter key and ac is replaced by my name. </p>  <p><embed src="http://www.youtube.com/v/83mxDs0XuLc&amp;hl=en&amp;fs=1" width="425" height="344" type="application/x-shockwave-flash" allowfullscreen="true" /></p>  <p>If you're a coder you'll probably find this particularly useful as it lets you enter big chunks of code with just a few key presses.</p>  <p>Download Texter from the Download link on <a href="http://lifehacker.com/software/texter/lifehacker-code-texter-windows-238306.php">the Texter home page</a>.</p>  <p><strong>Important</strong></p>  <ul>   <li>Go to the Preferences and turn off <strong>Enable Universal Spelling AutoCorrect</strong>. It's clearly supposed to work on whole words to correct spelling, but unfortunately it corrects before you've finished writing a word. For example, if you try to write agree, as soon as you get as far as agre it changes the word to agree, which means you end up with agreee. Similarly, if you try to write another you get aanother. This maybe works on some platforms, but on my Vista laptop it's obviously broken. But no matter, Texter is fine without this.</li>    <li>Replacements don't work everywhere. For example, they don't work in the Run dialog box. From what I've read, this used to work in XP, but doesn't in Vista. Shame, because it would be useful to be able to run a program by just typing a few characters in any application.</li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/08/07/texter-speed-typing-for-cheats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some handy Explorer shortcuts</title>
		<link>http://www.itauthor.com/2008/08/01/some-handy-explorer-shortcuts/</link>
		<comments>http://www.itauthor.com/2008/08/01/some-handy-explorer-shortcuts/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 16:49:22 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/08/01/some-handy-explorer-shortcuts/</guid>
		<description><![CDATA[If, like me, you like to keep your hands on the keyboard rather than always reaching for the mouse, here are a few keyboard shortcuts you might find useful. Windows Explorer Alt + D to select the current path Alt + down arrow for a list of previously entered paths Alt + up arrow to [...]]]></description>
			<content:encoded><![CDATA[<p>If, like me, you like to keep your hands on the keyboard rather than always reaching for the mouse, here are a few keyboard shortcuts you might find useful.</p>  <p><strong>Windows Explorer</strong></p>  <p><strong>Alt + D</strong> to select the current path</p>  <p><strong>Alt + <em>down arrow</em></strong> for a list of previously entered paths</p>  <p><strong>Alt + <em>up arrow</em></strong> to go to the parent directory    <br /></p>  <p><strong>Internet Explorer</strong></p>  <p>To open Internet Explorer and get to <a href="http://www.itauthor.com">www.itauthor.com</a>:</p>  <ol>   <li>Assuming you have an Internet Explorer icon in your Quick Launch panel, press <strong>Windows key + <em>number</em></strong> (e.g. if IE is the third icon in the Quick Launch panel, press <strong>Windows key +3</strong>).</li>    <li>Press <strong>Alt + D</strong> to select everything in the address bar.</li>    <li>Type in <strong>itauthor</strong>.</li>    <li>Press <strong>Ctrl + Enter</strong> to add www. to the front of what you typed, .com at the end and then search for the URL.</li> </ol>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/08/01/some-handy-explorer-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&quot;Hello, I&#8217;m a Mac.&quot; &#8211; &quot;And I&#8217;m a PC.&quot;</title>
		<link>http://www.itauthor.com/2008/07/22/hello-im-a-mac-and-im-a-pc/</link>
		<comments>http://www.itauthor.com/2008/07/22/hello-im-a-mac-and-im-a-pc/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 12:20:29 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/07/22/hello-im-a-mac-and-im-a-pc/</guid>
		<description><![CDATA[I've never been a Mac believer. In my experience lots of Mac users believe in the superiority of the Mac in the same way as religious zealots believe in the truth of their own particular brand of religion - it's just beyond dispute. The &#34;I'm a Mac&#34; ads play to the Mac crowd. They reinforce [...]]]></description>
			<content:encoded><![CDATA[<p>I've never been a Mac believer. In my experience lots of Mac users believe in the superiority of the Mac in the same way as religious zealots believe in the truth of their own particular brand of religion - it's just beyond dispute. The &quot;I'm a Mac&quot; ads play to the Mac crowd. They reinforce the belief of the faithful that PCs are only really good for number crunching and spreadsheets. Those of us watching on a PC know this is not true. However, they're really funny, well made adverts and you've got to admire Apple's nerve.</p>  <p>And, I must admit, there's more than a grain of truth in a few of the ads (e.g. the one with the boxes and the one about the upgrade).</p>  <p><embed src="http://www.youtube.com/v/lgzbhEc6VVo&amp;hl=en&amp;fs=1" width="425" height="344" type="application/x-shockwave-flash" allowfullscreen="true" /></p>  <p>   <br />UPDATE (25/7/2008):    <br />I just realised the one about the upgrade wasn't on that video. It's on the one below, right at the end.</p>  <p><embed src="http://www.youtube.com/v/17mwBoP_ZSQ&amp;hl=en&amp;fs=1" width="425" height="344" type="application/x-shockwave-flash" allowfullscreen="true" /></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/07/22/hello-im-a-mac-and-im-a-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Desktop via a PuTTY tunnel</title>
		<link>http://www.itauthor.com/2008/05/24/remote-desktop-via-a-putty-tunnel/</link>
		<comments>http://www.itauthor.com/2008/05/24/remote-desktop-via-a-putty-tunnel/#comments</comments>
		<pubDate>Sat, 24 May 2008 16:04:43 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/05/24/remote-desktop-via-a-putty-tunnel/</guid>
		<description><![CDATA[I'm still reloading things back onto my home PC after my recent Windows reinstall. It's going to a while yet before it's all back on there. The most recent thing I had to get working again was getting a Remote Desktop session to machines at work. Setting up Windows Remote Desktop to allow you to [...]]]></description>
			<content:encoded><![CDATA[<p>I'm still reloading things back onto my home PC after my recent Windows reinstall. It's going to a while yet before it's all back on there. The most recent thing I had to get working again was getting a Remote Desktop session to machines at work. </p>  <p>Setting up Windows Remote Desktop to allow you to use another machine on the same local network is very straightforward. Getting a Remote Desktop connection to a PC on a private external network is a little more tricky. I use <a href="http://en.wikipedia.org/wiki/PuTTY#External_links">PuTTY</a> to SSH to the gateway machine at work. </p>  <p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="469" alt="PuTTY" src="http://www.itauthor.com/wp-content/uploads/2008/05/windowslivewriterremotedesktopviaaputtytunnel-14c5fputty-3.png" width="496" border="0" /></p>  <p>Part of the PuTTY session is a series tunnels from ports on my local machine to ports on machines on the remote desktop. One of these is a mapping from the localhost port 3389 to port 3389 on a machine at work. Port 3389 is the port used by Remote Desktop, so this tunnel should mean that, once PuTTY has connected me to the external network, I can Remote Desktop to localhost and I will, as if by magic, get the login prompt for the remote machine.</p>  <p>However, having copied back into PuTTY the sessions from my previous Windows installation*, when I connected to the remote machine and then did a Remote Desktop to localhost I got the error message: &quot;<strong>The client could not connect. You are already connected to the console of this computer. A new console session cannot be established</strong>.&quot;</p>  <p><img height="156" alt="RemoteDesktopError" src="http://www.itauthor.com/wp-content/uploads/2008/05/windowslivewriterremotedesktopviaaputtytunnel-14c5fremotedesktoperror-b434e840-adf2-4cf6-b011-bb7d850265a1.png" width="596" border="0" /> </p>  <p>The reason for this, it turns out, is that Remote Desktop knows it shouldn't allow circular connections: <em>from</em> this computer <em>to</em> this computer. So it rejects attempts to connect to 127.0.0.1. Now, as localhost resolves to 127.0.0.1, this gets rejected also.</p>  <p>However, on Windows, all other IP addresses in the 127.x.x.x range also represent the local machine, and Remote Desktop does not block these addresses. So this allows you to map port 3389 on one of these addresses (e.g. 127.0.0.2 or 127.254.254.254) to port 3389 on a remote PC and then you can specify that address in the Remote Desktop login window.</p>  <p><strong>Note</strong>: Although the Source port field is clearly intended just for a port number, you can also put an IP address in there, followed by a port number - for example, 127.254.254.254:3389 - and then the remote IP address or hostname, followed by the port number, in the Destination field.<img height="468" alt="PuTTY2" src="http://www.itauthor.com/wp-content/uploads/2008/05/windowslivewriterremotedesktopviaaputtytunnel-14c5fputty2-fe022754-a52f-41a3-9043-7d01258b2919.png" width="491" border="0" /> </p>  <p><img height="272" alt="RemoteDesktoplogin" src="http://www.itauthor.com/wp-content/uploads/2008/05/windowslivewriterremotedesktopviaaputtytunnel-14c5fremotedesktoplogin-2e8930a2-6407-4ecd-9086-4fe7907d829f.png" width="443" border="0" />&#160;</p>  <p>   <br />* The PuTTY sessions for each Windows user are stored in the Windows registry in:</p>  <p>HKEY_USERS &gt; <em>[GUID for user]</em> &gt; Software &gt; SimonTatham</p>  <p>Before reinstalling Windows I'd exported the whole registry to a <strong>.reg</strong> file on my network drive. To put the details into the new registry all I had to do was open up the <strong>.reg</strong> file in a text editor, save it with a name like <strong>putty.reg</strong> on the desktop of the target PC, delete everything in the file after the first line up to the start of the HKEY_USERS &gt; <em>[GUID for user]</em> &gt; Software &gt; SimonTatham section and everything after that section, then save it again. Then you just need to right-click the icon on the desktop and choose <strong>Merge</strong>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/05/24/remote-desktop-via-a-putty-tunnel/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Podcast automation without iTunes</title>
		<link>http://www.itauthor.com/2008/05/16/podcast-automation-without-itunes/</link>
		<comments>http://www.itauthor.com/2008/05/16/podcast-automation-without-itunes/#comments</comments>
		<pubDate>Fri, 16 May 2008 08:42:50 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/05/16/podcast-automation-without-itunes/</guid>
		<description><![CDATA[A lot of people still think that you need an iPod to listen to podcasts. Podcasting was lucky to piggyback on the phenomenal success of the iPod and the result was a lot of people listening to podcasts who wouldn't have been if the iPod had never been invented, or if podcasts hadn't been called [...]]]></description>
			<content:encoded><![CDATA[A lot of people still think that you need an iPod to listen to podcasts. Podcasting was lucky to piggyback on the phenomenal success of the iPod and the result was a lot of people listening to podcasts who wouldn't have been if the iPod had never been invented, or if <em>pod</em>casts hadn't been called podcasts. However, the name podcast has also had the downside that lots of people assume podcasts require an iPod. So there are lots of people out there with MP3 players, PDAs and media-playing mobile phones don't realise they could be part of the podcast-listening community.

I've been listening to podcasts since mid-2005 but have never owned an iPod. I started listening by just downloading MP3 files and playing them on my PC on Windows Media Player, then got a PDA and started using that, transferring files over from PC to PDA via ActiveSync (a painfully slow process). I then discovered podcast clients that handled the downloading for you, and settled on <a href="http://juicereceiver.sourceforge.net/">Juice</a> as the best of them. Then, after the PDA packed up, I was using a little stick-like MP3 player, again manually transferring files across from the Juice download directory onto the MP3 player.

Finally, last year, I got a company Blackberry Curve, which includes pretty decent music playing software, and I started using that. I used the Sync feature in Windows Media Player to copy files onto the Blackberry. But it was still a little bit of a manual process to have to open Media Player and click <strong>Sync</strong> &gt; <strong>Blackberry</strong>. What I wanted was the seamless experience of the iPod and iTunes, where syncing happens without any manually effort other than plugging in your iPod.
<p style="margin-top: -2em; text-align: center"><img border="0" width="157" src="http://www.itauthor.com/wp-content/uploads/2008/05/blackberry-vodafone.jpg" alt="blackberry-vodafone" height="196" /></p>
<p style="margin-top: -2em">The following instructions tell you how to achieve this. It's a bit geeky I admit, but once you've set it up you don't need to do anything but plug in your MP3 player, phone or PDA and it gets loaded up with the latest podcasts you want to listen to. Additionally, it deletes old podcasts for you, so you don't have to do that manually to free up space for new stuff.</p>
The method requires the following (more detail in the instructions below):
<ul>
	<li>A Windows PC</li>
	<li>An MP3 player of some description that shows up as an external storage device in Windows Explorer (in my case my Blackberry Curve</li>
	<li>Perl installed on the PC</li>
	<li>A couple of Perl scripts written by me (see below)</li>
	<li>A podcast receiver such as Juice</li>
	<li>Microsoft SyncToy</li>
</ul>
Of the above, you only need to pay for the hardware - all the other items are free downloads. So here are the setup steps.

<span id="more-530"></span>

<strong>How to set up automatic podcast delivery to your MP3 player</strong>
<ol>
	<li>Download and install Perl.<br align="left" /><br align="left" /><a href="http://www.activestate.com/store/productdetail.aspx?prdGuid=81fbce82-6bd5-49bc-a915-08d58c2648ca"><img border="0" width="102" src="http://www.itauthor.com/wp-content/uploads/2008/05/perl-boxshot-h125.png" alt="perl-boxshot_h125" height="125" /></a><br align="left" /><br align="left" />I use ActivePerl from <a href="http://www.activestate.com/store/">ActiveState</a>. There might be other versions of Perl for Windows, but ActivePerl is easy to install and does the job, so I'd recommend using that. Download the Windows MSI installer from ActiveState and then just run it like any Windows installer. It's dead easy, but if you need instructions you can find some in <a href="http://perl.about.com/od/gettingstartedwithperl/ss/installperlwin.htm">this article on About.com</a>.Note: You want the Standard distribution, which is free. You'll get asked for registration details but you can leave the fields blank and just click <strong>Next</strong> if you want.</li>
<li style="margin-top: 1.8em">After installation is complete, open a command console window and type <strong>perl -v</strong>.If Perl is correctly installed you should see the Perl version details.<br align="left" /><br align="left" /><img border="0" width="445" src="http://www.itauthor.com/wp-content/uploads/2008/05/cmd.png" alt="cmd" height="124" /><br align="left" /><br align="left" /><img border="0" width="697" src="http://www.itauthor.com/wp-content/uploads/2008/05/perl-check-dialog.png" alt="perl-check-dialog" height="330" /></li>
<li style="margin-top: 1.8em">Download and install <a href="http://juicereceiver.sourceforge.net/">Juice</a>, or any similar podcast receiver.<br align="left" /><br align="left" /><a href="http://juicereceiver.sourceforge.net/"><img border="0" width="220" src="http://www.itauthor.com/wp-content/uploads/2008/05/logo-homepage-juice.gif" alt="logo_homepage_juice" height="66" /></a></li>
<li style="margin-top: 1.8em">Subscribe to some podcasts in your podcast receiver.</li>
<li style="margin-top: 1.8em">Set up the podcast receiver so that it starts up when Windows launches (e.g. put a shortcut to the application in the Startup subdirectory of the Windows Start menu) and set the download folder in the Preferences, making sure there are no spaces in your directory names (i.e. <strong>D:\MyStuff\MyPodcasts</strong> good, <strong>D:\My Stuff\My Podcasts</strong> bad).<br align="left" /><br align="left" /><img border="0" width="371" src="http://www.itauthor.com/wp-content/uploads/2008/05/juice-prefs.png" alt="juice-prefs" height="235" /><br align="left" /><br align="left" /><img border="0" width="721" src="http://www.itauthor.com/wp-content/uploads/2008/05/juice-prefs-dialog.png" alt="juice-prefs-dialog" height="505" /></li>
<li style="margin-top: 1.8em">Set the scheduler so that as well as checking for new podcasts when the application start (see the Preferences) it also checks at regular periods thereafter. For example, I have Juice set to check for new podcasts every four hours:<br align="left" /><br align="left" /><img border="0" width="459" src="http://www.itauthor.com/wp-content/uploads/2008/05/juice-scheduler.png" alt="juice-scheduler" height="267" /><br align="left" /><br align="left" /><img border="0" width="490" src="http://www.itauthor.com/wp-content/uploads/2008/05/juice-scheduler-dialog.png" alt="juice-scheduler-dialog" height="549" /><br align="left" /><br align="left" />So you've now got things set up so that you get new podcasts onto your PC automatically. Pretty straightforward stuff so far. The problem with this setup is that your hard disk will gradually fill up with an enormous amount of MP3s. The next thing to do is to set up a Perl script that will delete old files from your download location for you.</li>
<li style="margin-top: 1.8em">Create a directory to hold the Perl scripts you're going to need. For example, mine live in:<strong>D:\Alistair\ProgrammingStuff\PerlScripts</strong><br align="left" /><br align="left" />Note: As previously noted, the directory names shouldn't have any spaces in them.</li>
<li style="margin-top: 1.8em">Use the following link to download a zip file containing two Perl scripts:<a href="http://www.itauthor.com/wp-content/uploads/2008/05/podcastperlscripts.zip" title="http://www.itauthor.com/wp-content/uploads/2008/05/podcastperlscripts.zip">http://www.itauthor.com/wp-content/uploads/2008/05/podcastperlscripts.zip</a></li>
<li style="margin-top: 1.8em">Unzip the file and save <strong>deleter.pl</strong> and <strong>run-synctoy.pl</strong> to the directory you created in step 7.The script we're interested in right now is <strong>deleter.pl</strong>. It's a simple script that just deletes files in or below a specified directory that are older than a specified number of days old. Here's the code in case you're interested (don't worry, you don't need to understand this to use the script):<br align="left" /><br align="left" />
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   1:</span> <span style="color: #008000">#!perl -w</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   2:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   3:</span> use strict;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   4:</span> use File::Find;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   5:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   6:</span> <span style="color: #008000"># This script deletes all files older than a specified age</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   7:</span> <span style="color: #008000"># in, ***or below***, a specified directory </span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   8:</span> <span style="color: #008000"># (or the current directory if none specified)</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   9:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  10:</span> <span style="color: #008000"># To test the script (i.e. list files that would have been</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  11:</span> <span style="color: #008000"># deleted, without actually deleting them),</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  12:</span> <span style="color: #008000"># comment out the line containing "unlink $_".</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  13:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  14:</span> usage() <span style="color: #0000ff">if</span> (! @ARGV || $ARGV[0] =~ /\D/);</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  15:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  16:</span> my $age = $ARGV[0];</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  17:</span> my $dir = $ARGV[1] || <span style="color: #006080">'.'</span>;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  18:</span> my $message  = <span style="color: #006080">"\nThe following files have been deleted:\n"</span>;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  19:</span> my $files    = <span style="color: #006080">""</span>;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  20:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  21:</span> find(sub { $files .= <span style="color: #006080">"$_\n"</span> <span style="color: #0000ff">if</span> (-M $_ &gt; $age &amp;&amp; $_ ne <span style="color: #006080">"."</span>); }, $dir);</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  22:</span> find(sub { unlink $_ <span style="color: #0000ff">if</span> (-M $_ &gt; $age &amp;&amp; $_ ne <span style="color: #006080">"."</span>); }, $dir);</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  23:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  24:</span> $message=<span style="color: #006080">"\nNo files were deleted.\n\n"</span> unless $files;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  25:</span> print $message.$files;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  26:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  27:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  28:</span> sub usage {</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  29:</span> print &lt;&lt;<span style="color: #006080">'EOF'</span>;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  30:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  31:</span> USAGE:</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  32:</span> ========</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  33:</span> &lt;scriptname&gt; n [directory]</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  34:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  35:</span> Where:</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  36:</span> - scriptname is the name of this Perl <span style="color: #0000ff">script</span>.</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  37:</span> - n is the number of days previous to today.</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  38:</span> - directory is an optional parameter that specifies</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  39:</span>   the directory where files exist.</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  40:</span>   Note: the <span style="color: #0000ff">default</span> is the current directory.</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  41:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  42:</span> For example:</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  43:</span> - <span style="color: #006080">"perl deleter.pl 5"</span> - deletes files older than 5 days.</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  44:</span> - <span style="color: #006080">"perl deleter.pl 120 c:\temp"</span> - deletes files <span style="color: #0000ff">in</span> or below the</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  45:</span>   c:\temp directory that are older than 120 days.</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  46:</span> EOF</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  47:</span> exit;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  48:</span> }</pre>
<br align="left" />Now the script is in place, you can set up a Windows scheduled task to run this script.</li>
<li style="margin-top: 1.8em">From the Windows Start menu select <strong>All Programs</strong> &gt; <strong>Accessories</strong> &gt; <strong>System Tools</strong> &gt; <strong>Task Scheduler</strong>.</li>
<li style="margin-top: 1.8em">Choose <strong>Action</strong> &gt; <strong>Create Task</strong>.Note: These instructions are for Vista but the process should be very similar on XP.</li>
<li style="margin-top: 1.8em">In the General tab, give the task a name – for example, podcast-deleter.<br align="left" /><br align="left" /><img border="0" width="676" src="http://www.itauthor.com/wp-content/uploads/2008/05/task.png" alt="task" height="508" /></li>
<li style="margin-top: 1.8em">Make sure the <strong>Run with highest privileges</strong> check box is selected.</li>
<li style="margin-top: 1.8em">In the Triggers tab, click <strong>New</strong>.</li>
<li style="margin-top: 1.8em">In the New Trigger dialog box, set up the schedule for the task. For example, I have my task scheduled to run daily at lunchtime (13.19 to be precise).<br align="left" /><br align="left" /><img border="0" width="632" src="http://www.itauthor.com/wp-content/uploads/2008/05/new-trigger.png" alt="new-trigger" height="542" /></li>
<li style="margin-top: 1.8em">Make sure the <strong>Enabled</strong> check box is selected and click <strong>OK</strong>.</li>
<li style="margin-top: 1.8em">In the Actions tab, click <strong>New</strong>.</li>
<li style="margin-top: 1.8em">In the New Action dialog box, leave the Action as <strong>Start a program.</strong><br align="left" /><br align="left" /><strong><img border="0" width="490" src="http://www.itauthor.com/wp-content/uploads/2008/05/new-action.png" alt="new-action" height="523" /> </strong></li>
<li style="margin-top: 1.8em">Click <strong>Browse</strong> and find the perl executable file. If you installed ActivePerl, the path is probably <strong>C:\Perl\bin\perl.exe</strong>.</li>
<li style="margin-top: 1.8em">In the Add arguments field, enter the following on one line:<br align="left" /><br align="left" />– the full path to the <strong>deleter.pl</strong> script<br align="left" /><br align="left" />– the number of days old a file must be older than for it to be deleted (I've got mine set to 5)<br align="left" /><br align="left" />– in double quotes: the full path to the directory into which your podcasts are downloaded<br align="left" /><br align="left" />The value I have in this field is:<br align="left" /><br align="left" /><strong>D:\Alistair\ProgrammingStuff\PerlScripts\deleter.pl 5 "D:\Alistair\Downloads\podcasts"</strong><br align="left" /><br align="left" />Note: you can leave the Start in field blank.</li>
<li style="margin-top: 1.8em">Click <strong>OK</strong> and, back in the task Properties dialog box, click <strong>OK</strong> again.<br align="left" /><br align="left" />You've now got a scheduled task that will run automatically every day and delete your old podcast files. I listen to a lot of weekly podcasts, mainly from the BBC, and I've almost always listened to them within the 5 days they get to stay on my PC.<br align="left" /><br align="left" />Now let's turn our attention to getting the podcasts onto your MP3 player.</li>
<li style="margin-top: 1.8em">Download and install <a href="http://www.microsoft.com/downloads/details.aspx?familyid=C26EFA36-98E0-4EE9-A7C5-98D0592D8C52&amp;displaylang=en">SyncToy from Microsoft</a>.<br align="left" />
<img border="0" width="640" src="http://www.itauthor.com/wp-content/uploads/2008/05/synctoy-download.png" alt="synctoy-download" height="337" /> <br align="left" />Note: Make sure you get version 2.0 or higher. If the link above doesn't work by the time you're reading this, go to the <a href="http://www.microsoft.com/downloads/">Microsoft Download Center</a> and search for "SyncToy".SnycToy is a great, free application whose silly name belies the fact that it is a seriously useful tool. In short what it lets you do is choose two folders that you want to synchronise. Typically you'd use it to automatically backup documents, images or music onto a network drive, an external hard drive or another computer on your network. But here we're going to use it to copy over your podcasts from your PC to your MP3 player, phone, PDA etc.</li>
<li style="margin-top: 1.8em">Make sure your MP3 player is connected to your PC.</li>
<li style="margin-top: 1.8em">Start SyncToy and click <strong>Create New Folder Pair</strong>.</li>
<li style="margin-top: 1.8em">Using the <strong>Browse</strong> buttons, enter the paths to the podcasts directory on your PC ("Left Folder") and the destination directory on your MP3 player ("Right Folder").<br align="left" /><br align="left" /><img border="0" width="503" src="http://www.itauthor.com/wp-content/uploads/2008/05/creat-new-pair.png" alt="creat-new-pair" height="404" /></li>
<li style="margin-top: 1.8em">Click <strong>Next</strong>.</li>
<li style="margin-top: 1.8em">Select <strong>Echo</strong>.<br align="left" /><br align="left" /><img border="0" width="504" src="http://www.itauthor.com/wp-content/uploads/2008/05/creat-new-pair2.png" alt="creat-new-pair2" height="404" /> <br align="left" /><br align="left" />Echo provides a one-way sync from left to right. This means that new podcasts on the PC will get copied to your MP3 player, and when the script deletes podcasts they'll be deleted from the MP3 player.</li>
<li style="margin-top: 1.8em">Click <strong>Next</strong>.</li>
<li style="margin-top: 1.8em">Give the sync job a name, making sure the name doesn't contain any spaces.<br align="left" /><br align="left" /><img border="0" width="501" src="http://www.itauthor.com/wp-content/uploads/2008/05/creat-new-pair3.png" alt="creat-new-pair3" height="406" /></li>
<li style="margin-top: 1.8em">Click<strong> Finish</strong>.</li>
<li style="margin-top: 1.8em">You can now click Run to run the synchronisation for the first time.<br align="left" /><br align="left" /><img border="0" width="830" src="http://www.itauthor.com/wp-content/uploads/2008/05/run-synctoy.png" alt="run-synctoy" height="641" /> <br align="left" /><br align="left" />Note: the first time you run a synchronisation it may take quite a long time to complete. Be patient. For subsequent syncs it does incremental backups and is much faster. Now we need to automate SyncToy to run at regular intervals. Fortunately, SyncToy comes with a separate executable that's designed to be run from the command line. We're going to use the other Perl script you downloaded to run this executable silently, in the background, without the user interface being displayed.</li>
<li style="margin-top: 1.8em">Go to the location in which you saved the Perl scripts you downloaded earlier and open <strong>run-synctoy.pl</strong> in a plain text editor such as Notepad or UltraEdit.</li>
<li style="margin-top: 1.8em">Carefully edit the values for the three variables so that they reflect the correct details for your setup:<br align="left" /><br align="left" /><strong>$destination</strong><br align="left" /><br align="left" />The full path to the directory on the MP3 player where you want podcasts to be synced to.<br align="left" /><br align="left" />Note: Make sure you use two backslashes for every backslash in the path (so <strong>G:\Music</strong> becomes <strong>G:\\Music</strong>).<br align="left" /><br align="left" /><strong>$synctoy</strong><br align="left" /><br align="left" />The full path to the <strong>SyncToyCmd.exe</strong> file.<br align="left" /><br align="left" />Note: If the path contains any directories with spaces in their names you're going to have to rename these. For instance, I had to rename <strong>SyncToy 2.0 Beta</strong> as <strong>SyncToy-2.0-Beta</strong>. Also, make sure you specify the command-line version of the application, <strong>SyncToyCmd.exe</strong>, and not the user interface version: <strong>SyncToy.exe</strong>.<br align="left" /><br align="left" /><strong>$flag</strong><br align="left" /><br align="left" />The name you gave to the folder pair in SyncToy.<br align="left" /><br align="left" />Note: the quoted value must start with a space followed by <strong>-R</strong> followed directly, with no space, by the name of the folder pair.<br align="left" /><br align="left" />Here's what my version of the file looks like:<br align="left" /><br align="left" />
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   1:</span> <span style="color: #008000">#!perl -w</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   2:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   3:</span> use strict;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   4:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   5:</span> <span style="color: #008000"># Edit the following to the destination drive &amp; path for your MP3 player:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   6:</span> my $destination  = <span style="color: #006080">"G:\\Music"</span>;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   7:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">   8:</span> <span style="color: #008000"># Edit the following to the path to SyncToyCmd.exe on your computer:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">   9:</span> <span style="color: #008000"># Note: The path must not contain any spaces.</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  10:</span> my $synctoy      = <span style="color: #006080">"D:\\programs\\SyncToy-2.0-Beta\\SyncToyCmd.exe"</span>;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  11:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  12:</span> <span style="color: #008000"># Edit the following to "&lt;space&gt;-R&lt;name of folder pair set up in SyncToy&gt;:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  13:</span> my $flag      = <span style="color: #006080">" -Rpodcasts-to-blackberry"</span>;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  14:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  15:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  16:</span> unless (-e $destination) {</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  17:</span>         die (<span style="color: #006080">"The desintation location:\n"</span> . $destination . <span style="color: #006080">"\ndoes not exist -"</span>);</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  18:</span> }</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  19:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  20:</span> unless (-e $synctoy) {</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  21:</span>         die (<span style="color: #006080">"SyncToy not found at the specified path:\n"</span> . $synctoy . <span style="color: #006080">" -"</span>);</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  22:</span> }</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  23:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px"><span style="color: #606060">  24:</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px"><span style="color: #606060">  25:</span> `$synctoy, $flag`;</pre>
</li>
<li style="margin-top: 1.8em">Save your changes.<br align="left" /><br align="left" />OK, we're near the end now. Congratulations if you've got this far.<br align="left" /><br align="left" />Pretty much all we have to do now is set up another Windows scheduled task to run this Perl script on a regular basis. The reason for using a Perl script here, rather than just running the executable directly is that it allows us to check whether the remote destination is available (e.g. your phone or MP3 player is connected to the PC) before attempting to run SyncToy.</li>
<li style="margin-top: 1.8em">Back in Task Scheduler (<strong>All Programs</strong> &gt; <strong>Accessories</strong> &gt; <strong>System Tools</strong> &gt; <strong>Task Scheduler</strong>) choose <strong>Action</strong> &gt; <strong>Create Task</strong>.</li>
<li style="margin-top: 1.8em">In the General tab, give the task a name – for example, <strong>Sync-podcasts-to-Blackberry</strong>.</li>
<li style="margin-top: 1.8em">In the Triggers tab, click <strong>New</strong>.</li>
<li style="margin-top: 1.8em">In the New Trigger dialog box, set up the schedule for the task.</li>
<li style="margin-top: 1.8em">You probably want to set up a few of these triggers because you may not always have your MP3 connected when the task kicks off, especially if it's your phone. For example I've got four triggers set up, at 11am, 1pm, 3pm and 5pm:<br align="left" /><br align="left" /><img border="0" width="672" src="http://www.itauthor.com/wp-content/uploads/2008/05/triggers.png" alt="triggers" height="509" /></li>
<li style="margin-top: 1.8em">In the Actions tab, click <strong>New</strong>.</li>
<li style="margin-top: 1.8em">In the New Action dialog box, leave the Action as <strong>Start a program.</strong><br align="left" /><br align="left" /><strong><img border="0" width="486" src="http://www.itauthor.com/wp-content/uploads/2008/05/new-action2.png" alt="new-action2" height="522" /> </strong></li>
<li style="margin-top: 1.8em">Click <strong>Browse</strong> and find the <strong>run-synctoy.pl</strong> script.</li>
<li style="margin-top: 1.8em">Leave the Add arguments field empty and in the Start in field add the path to the directory in which Perl lives. If you installed ActivePerl, the path is probably <strong>C:\Perl\bin</strong>.</li>
<li style="margin-top: 1.8em">Click <strong>OK</strong> and, back in the task Properties dialog box, click <strong>OK</strong> again.<br align="left" /><br align="left" />You've now got a scheduled task that will run automatically several times a day, causing SyncToy to copy new podcasts to your MP3 player and delete the old ones.<br align="left" /><br align="left" />And that's it!<br align="left" /><br align="left" />The beauty of this setup is that the end result is you always have a recent selection of podcasts to listen to on your MP3 player, you don't have to manually delete old podcasts, all you <em>do</em> need to do is plug the device into your PC. Job done!</li>
</ol>
<p style="display: inline; float: none; margin: 0px; padding: 0px" id="scid:B3E14793-948F-49af-A347-D19C374A7C4F:a8858ca1-1d49-450f-b929-d34f2c5b4be4" class="wlWriterSmartContent"><script type="text/javascript">                            <!--  digg_bodytext = \\\\\\\'Listen to podcasts? Want them to automatically appear on your phone or MP3 player just like they would if you had an iPod? Here\\\\\\\'s how to do it. It\\\\\\\'s a bit geeky but the end result is cool!\\\\\\\';  digg_topic = \\\\\\\'gadgets\\\\\\\';  //--></script>
<script type="text/javascript" src="http://digg.com/tools/diggthis.js"></script>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/05/16/podcast-automation-without-itunes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Getting Internet Explorer to work with the SmoothWall Web proxy</title>
		<link>http://www.itauthor.com/2008/05/13/getting-internet-explorer-to-work-with-the-smoothwall-web-proxy/</link>
		<comments>http://www.itauthor.com/2008/05/13/getting-internet-explorer-to-work-with-the-smoothwall-web-proxy/#comments</comments>
		<pubDate>Tue, 13 May 2008 21:33:05 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/05/13/getting-internet-explorer-to-work-with-the-smoothwall-web-proxy/</guid>
		<description><![CDATA[After reinstalling Windows recently I found I had a problem accessing the Internet. The problem was DNS-related because pages loaded incredibly slowly but, provided they didn't time out first, would eventually load. I realised that turning off my SmoothWall Web proxy solved the problem, but without the Web proxy I couldn't use Dan's Guardian. Dan's [...]]]></description>
			<content:encoded><![CDATA[<p>After reinstalling Windows recently I found I had a problem accessing the Internet. The problem was DNS-related because pages loaded incredibly slowly but, provided they didn't time out first, would eventually load. I realised that turning off my SmoothWall Web proxy solved the problem, but without the Web proxy I couldn't use Dan's Guardian.</p>  <p><a href="http://dansguardian.org/">Dan's Guardian</a> is a content filtering service that can be installed as an add-on to <a href="http://www.smoothwall.org/">SmoothWall</a>. I have SmoothWall running on an old PC, behind my Sky router, as an always-on firewall for my home network. Because I have two kids, I want to filter Internet content and Dan's Guardian does a pretty good job of this. I like it because it's very configurable and allows me to determine the level of filtering, specific sites or domains to block, exceptions to filtering, types of files to block and so on. However, Dan's Guardian relies on transparent Web proxying being enabled, so I need to have that turned on:</p>  <p><a href="http://www.itauthor.com/wp-content/uploads/2008/05/smoothwall-proxy.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="291" alt="smoothwall-proxy" src="http://www.itauthor.com/wp-content/uploads/2008/05/smoothwall-proxy-thumb.png" width="534" border="0" /></a>&#160;<a href="http://www.itauthor.com/wp-content/uploads/2008/05/smoothwall-filtering.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="249" alt="smoothwall-filtering" src="http://www.itauthor.com/wp-content/uploads/2008/05/smoothwall-filtering-thumb.png" width="534" border="0" /></a> </p>  <p>Anyway, I couldn't figure out what the problem was until I eventually found a page on the SmoothWall Support site called &quot;<a href="https://support.smoothwall.net/index.php?_m=knowledgebase&amp;_a=viewarticle&amp;kbarticleid=196&amp;nav=0,4">Using ident on Windows XP - common problems</a>&quot;, which says:</p>  <p><em>Ident is a service running on port 113 and as such, port 113 needs to be opened on the workstations, in order for ident to be able to server the username. If the built-in firewall is enabled on any Windows operating system, it needs to be configured to allow access to port 113. This can be done using a log-in script or by manually configuring the Windows firewall software. Please refer to the Windows documentation for information on how to do this.</em> </p>  <p>And then a lightbulb went on and I remembered that I'd previously had Windows Firewall turned off. Sure enough turning it off again solves the problem and lets me access the Internet via the transparent proxy. But, as the quote describes, you can run Windows Firewall so long as you add port 113 as an exception. To do this, go to Control Panel, open up Windows Firewall, click the Exceptions tab:</p>  <p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="519" alt="windows-firewall-exceptions" src="http://www.itauthor.com/wp-content/uploads/2008/05/windows-firewall-exceptions.png" width="438" border="0" /></p>  <p>Click the <strong>Add Port</strong> button and add port 113, with a description:</p>  <p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="293" alt="windows-firewall-edit-port" src="http://www.itauthor.com/wp-content/uploads/2008/05/windows-firewall-edit-port.png" width="397" border="0" /></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/05/13/getting-internet-explorer-to-work-with-the-smoothwall-web-proxy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reinstalling drivers after a Windows reinstall</title>
		<link>http://www.itauthor.com/2008/05/09/reinstalling-drivers-after-a-windows-reinstall/</link>
		<comments>http://www.itauthor.com/2008/05/09/reinstalling-drivers-after-a-windows-reinstall/#comments</comments>
		<pubDate>Fri, 09 May 2008 12:20:04 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/05/09/reinstalling-drivers-after-a-windows-reinstall/</guid>
		<description><![CDATA[For the past few months I've been putting off and putting off reinstalling Windows on my main home PC. It's become slower and slower to the point where it's painful to use. The problem is that I'm an inveterate application trialist. Over the years since I installed XP on that machine I've installed countless applications. [...]]]></description>
			<content:encoded><![CDATA[For the past few months I've been putting off and putting off reinstalling Windows on my main home PC. It's become slower and slower to the point where it's painful to use. The problem is that I'm an inveterate application trialist. Over the years since I installed XP on that machine I've installed countless applications. I've tried out dozens of text editors, dozens of sound file converters, dozens of applications for creating icons, document management systems, Perl, Python, Ruby, IDEs like Eclipse, Visual Studio and Komodo, programs for my PDA, then programs for my Blackberry, applications I've been documented for work, tech authoring applications, you name it.

Some of the apps I just uninstall after playing around with them for a while. Most of them I just left there in my programs directory. As a result my Windows Registry was collosal, my C drive was chock full (even though I install applications to a programs directory on D) and the whole system was generally fantastically bloated and lethargic.

I'd resisted doing a reinstall because I knew I had lots of programs that I use occasionally but don't have the installer for. Reinstalling Windows, therefore, means hours online tracking down and downloading the installer again. There's also the driver problem. All those obscure drivers I've had to install over the years will vanish on reinstalling Windows.

However, what finally convinced me to bit the bullet and reinstall was hearing about a program called <a href="http://www.innovative-sol.com/drivermax/">DriverMax</a> on the <a href="http://www.miketechshow.com/2008/04/mike-tech-show-podcast-185-04-26-08.html">Mike Tech Show #185</a>.

<a href="http://www.itauthor.com/wp-content/uploads/2008/05/drivermax-main.jpg"><img border="0" width="464" src="http://www.itauthor.com/wp-content/uploads/2008/05/drivermax-main-thumb.jpg" alt="drivermax_main" height="351" style="border: 0px" /></a> 

DriverMax is a free program that allows you to save some or all of your drivers and then import them again later. You don't need to know where to find them, DriverMax locates them all and then allows you which ones you which to save. It also allows you to save them as a zip file if you just want to archive them periodically. I just let DriverMax save everything and told it to save to my 1 terrabyte "My Book" storage device.

 <img border="0" width="157" src="http://www.itauthor.com/wp-content/uploads/2008/05/wdfmybook-world-1n.jpg" alt="wdfMyBook_World_1N" height="240" style="border: 0px" />

After reinstalling Windows sure enough I had driver issues. I couldn't get any sound out of my speakers and, looking in Device Manager, there were three missing drivers. So I just reinstalled DriverMax, told it to import all the drivers I'd saved and, hey presto, everything sorted itself out.

If you need to do a Windows reinstall I'd recommend you make life easier on yourself by using DriverMax.]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/05/09/reinstalling-drivers-after-a-windows-reinstall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flickr screensaver</title>
		<link>http://www.itauthor.com/2008/03/12/flickr-screensaver/</link>
		<comments>http://www.itauthor.com/2008/03/12/flickr-screensaver/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 00:08:26 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/03/12/flickr-screensaver/</guid>
		<description><![CDATA[I was intrigued to hear Dave Winer talking, in a recent TWIT podcast, about his FlickrFan program that get photos from Flickr and other Internet sources and shows them as your screensaver. Unfortunately this is Mac-only at the moment. However, I found a similar program for PC: http://www.codeplex.com/FlickrNetScreensaver It's a little disconcerting not knowing whose [...]]]></description>
			<content:encoded><![CDATA[<p>I was intrigued to hear Dave Winer talking, in <a href="http://twit.tv/134">a recent TWIT podcast</a>, about his FlickrFan program that get photos from Flickr and other Internet sources and shows them as your screensaver. Unfortunately this is Mac-only at the moment.</p>  <p>However, I found a similar program for PC:</p>  <p><a title="http://www.codeplex.com/FlickrNetScreensaver" href="http://www.codeplex.com/FlickrNetScreensaver">http://www.codeplex.com/FlickrNetScreensaver</a></p>  <p>It's a little disconcerting not knowing whose photos are going to appear on your screensaver, but you can choose a tag (e.g. &quot;nature&quot;) which lessens the scope for weirdness - like photos from someone's family holiday, or baby's Christening, showing up.</p>  <p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="540" alt="Flickr Screensaver Tool" src="http://www.itauthor.com/wp-content/uploads/2008/03/flickr-screensaver-tool.jpg" width="443" border="0" /></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/03/12/flickr-screensaver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP files return a blank page</title>
		<link>http://www.itauthor.com/2007/11/07/php-files-return-a-blank-page/</link>
		<comments>http://www.itauthor.com/2007/11/07/php-files-return-a-blank-page/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 14:27:56 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/11/07/php-files-return-a-blank-page/</guid>
		<description><![CDATA[If, when you browse to a PHP page, you just see the text of the PHP script, it means the server knows nothing about PHP. To it the PHP script is just a text file, so it sends you that, like it would a .txt file. If, however, you get a blank page, it suggests [...]]]></description>
			<content:encoded><![CDATA[<p>If, when you browse to a PHP page, you just see the text of the PHP script, it means the server knows nothing about PHP. To it the PHP script is just a text file, so it sends you that, like it would a <strong>.txt</strong> file.</p> <p>If, however, you get a blank page, it suggests the Web server knows that <strong>.php</strong> files should be served up like Web pages, but the PHP isn't being handled properly.</p> <p>On Apache, the most likely cause - or at least the first thing you should check out - is that the <strong>httpd.conf</strong> file hasn't been updated properly to point to the PHP module. Make sure this file contains <font face="Courier New">LoadModule</font>, <font face="Courier New">AddType</font> and <font face="Courier New">PHPIniDir</font> statements such as the following (these are for an XAMPP installation of Apache/PHP on Windows):</p> <p><font face="Courier New">LoadModule php5_module "c:/xampp/php/php5apache2_2.dll"<br />AddType application/x-httpd-php .php<br />PHPIniDir "c:/xampp/php"</font></p> <p>If these lines are in the <strong>httpd.conf</strong> file, the problem may just be that the file hasn't been read since the change was made. Restart Apache and the changes in the file will be applied.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/11/07/php-files-return-a-blank-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting command-line FTP working with Filezilla</title>
		<link>http://www.itauthor.com/2007/11/07/getting-command-line-ftp-working-with-filezilla/</link>
		<comments>http://www.itauthor.com/2007/11/07/getting-command-line-ftp-working-with-filezilla/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 09:44:06 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/11/07/getting-command-line-ftp-working-with-filezilla/</guid>
		<description><![CDATA[The problem: Set up command-line FTP access to a Windows 2003 Server machine to allow scripts to save files to that server via FTP. The solution:FileZilla - but you need to know the recipe of the secret sauce! I started by installing Windows own FTP server (an extra Windows component that you can add via [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The problem</strong>: <br />Set up command-line FTP access to a Windows 2003 Server machine to allow scripts to save files to that server via FTP.  <p><strong>The solution</strong>:<br />FileZilla - but you need to know the recipe of the secret sauce!  <p><br />I started by installing Windows own FTP server (an extra Windows component that you can add via Add/Remove Programs). I then enabled this in the IIS Manager. However, the problem I got was that, although I could FTP to the server I couldn't save anything, do an <strong>ls</strong> or a <strong>pwd</strong> or anything useful.  <p>So plan 2, after disabling Windows FTP, was to use FileZilla. This is an open source FTP/SCP project and you can download server and client software here:  <p><a title="http://filezilla-project.org/" href="http://filezilla-project.org/">http://filezilla-project.org/</a>  <p>However, I'd recently installed Apache/PHP/MySQL using the very wonderful XAMPP (see <a href="http://www.itauthor.com/2007/03/01/xampp-web-server-mysql-in-minutes/">XAMPP - Web server + MySQL in minutes</a>), so I already had FileZilla, I just hadn't enabled it. I did so and everything seemed to work except that when I FTPed to the machine as any user, with a legitimate password I'd get a "530 Login or password incorrect" message:  <p><font face="Courier New" size="2">C:\Documents and Settings\ac&gt;ftp showcase.memex.co.uk<br />Connected to showcase.memex.co.uk.<br />220-FileZilla Server version 0.9.23 beta<br />220-written by Tim Kosse (Tim.Kosse@gmx.de)<br />220 Please visit </font><a href="http://sourceforge.net/projects/filezilla/"><font face="Courier New" size="2">http://sourceforge.net/projects/filezilla/</font></a><br /><font face="Courier New" size="2">User (myserver.myorg.co.uk:(none)): Administrator<br />331 Password required for administrator<br />Password:<br />530 Login or password incorrect!<br />Login failed.</font>  <p>The secret is that you have to go into the Admin program for FileZilla and add users/groups in there, specifically assigning each access to parts of the file system and defining what they can do (e.g. read, write, etc).  <p>With XAMPP this is easy. From the XAMPP Control Panel, click <strong>Admin</strong> for FileZilla:<br /><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="352" alt="xampp-control-panel" src="http://www.itauthor.com/wp-content/uploads/2007/11/xampp-control-panel.png" width="446" border="0"> </p> <p>Enter the Administrator password:<br /><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="197" alt="xampp-connect-to-server" src="http://www.itauthor.com/wp-content/uploads/2007/11/xampp-connect-to-server.png" width="254" border="0">  <p>Create groups with the appropriate access rights. Then create users and assign them to a group:<a href="http://www.itauthor.com/wp-content/uploads/2007/11/xampp-add-user.png"><br /><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="410" alt="xampp-add-user" src="http://www.itauthor.com/wp-content/uploads/2007/11/xampp-add-user-thumb.png" width="540" border="0"></a>  <p>Now you can open up a command console on a remote machine, enter <strong>ftp servername</strong> and log in to the server to <strong>put</strong>/<strong>get</strong> files as required.  ]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/11/07/getting-command-line-ftp-working-with-filezilla/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More good stuff from Windows Live</title>
		<link>http://www.itauthor.com/2007/10/31/more-good-stuff-from-windows-live/</link>
		<comments>http://www.itauthor.com/2007/10/31/more-good-stuff-from-windows-live/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 00:16:31 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Authoring tools]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/10/31/more-good-stuff-from-windows-live/</guid>
		<description><![CDATA[If you haven't had a look at Windows Live for a while, it's worth a look. There's a couple of really nice things on there now. The first one is the one that's had a lot of publicity: Spaces. This is, in effect, your own Web site on live.com. You get to choose a URL [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven't had a look at Windows Live for a while, it's worth a look. There's a couple of really nice things on there now. The first one is the one that's had a lot of publicity: <a href="http://get.live.com/spaces/overview">Spaces</a>. This is, in effect, your own Web site on live.com. You get to choose a URL (e.g. yourname.spaces.live.com) and your get a personal Web space with a blog, a photo gallery, storage space for saving files that you want to access from anywhere, an event planner and the usual friends list. You can set up the permissions to keep everything private, make everything public, or specify who gets to see your pictures, your blog, your stored files, etc.</p>  <p>The other excellent addition to Windows Live is a replacement for Windows Picture and Fax Viewer, which, until today, was my default application for viewing image files from Windows Explorer and doing a slideshow. It's called <a href="http://get.live.com/betas/photogallery_betas">Windows Live Photo Gallery</a>. It does all the stuff Picture Viewer used to do, like rotating your photos and doing a slideshow, but it also makes it really easy to adjust your images, including cropping and resizing them.</p>  <p>If you have a look at my recent post on <a href="http://www.itauthor.com/2007/10/30/my-podcast-recording-setup/">My podcast recording setup</a>, the photos in there were fixed up using Live Photo Gallery. I took the photos in my poorly lit study, beside a very yellow desk lamp, without any flash lighting. The results were not great, but clicking the Auto Correct button worked wonders and made it look like I'd taken the photos beside a window with plenty of natural light. I also increased the brightness and contrast a little and then cranked up the Sharpness setting to the max just so's the settings on the mixer were as clear as possible. Compare a detail from the original photo and the fixed version:</p>  <p>Original:   <br /><a href="http://www.itauthor.com/wp-content/uploads/2007/10/mixer-recorder-and-mic-orig-cropped1.jpg"><img id="id" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="439" alt="mixer-recorder-and-mic-ORIG-CROPPED" src="http://www.itauthor.com/wp-content/uploads/2007/10/mixer-recorder-and-mic-orig-cropped-thumb.jpg" width="540" border="0" /></a>&#xA0; <br />Fixed:    <br /><a href="http://www.itauthor.com/wp-content/uploads/2007/10/mixer-recorder-and-mic-fixed-cropped.jpg"><img id="id" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="438" alt="mixer-recorder-and-mic-FIXED-CROPPED" src="http://www.itauthor.com/wp-content/uploads/2007/10/mixer-recorder-and-mic-fixed-cropped-thumb.jpg" width="540" border="0" /></a>&#xA0; <br />The fixed version is quite grainy because of the artificially high sharpness setting I used, but I think the result are really good, considering the original photos were so poor.</p>  <p>I've always used Photoshop for most image adjusting, but for little quick things like this, I'll be using Live Photo Gallery from now on. By the time Photoshop has loaded I could have done my colour correction, cropping and resizing and posted the results to my blog.</p>  <p>For more information about Windows Live, see:</p>  <p><a title="http://get.live.com/wl/all" href="http://get.live.com/wl/all">http://get.live.com/wl/all</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/10/31/more-good-stuff-from-windows-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking a backup copy of a directory</title>
		<link>http://www.itauthor.com/2007/10/23/taking-a-backup-copy-of-a-directory/</link>
		<comments>http://www.itauthor.com/2007/10/23/taking-a-backup-copy-of-a-directory/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 11:28:01 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/10/23/taking-a-backup-copy-of-a-directory/</guid>
		<description><![CDATA[I was just trying to copy a directory full of data, to put to one side, because I knew it would be overwritten when I did an install and I wanted to keep a copy to move back into place after the install. The trouble was that the permissions within the directory hierarchy were complex [...]]]></description>
			<content:encoded><![CDATA[<p>I was just trying to copy a directory full of data, to put to one side, because I knew it would be overwritten when I did an install and I wanted to keep a copy to move back into place after the install. The trouble was that the permissions within the directory hierarchy were complex and no matter who I logged on as - even Administrator - Windows Explorer only got so far in the copy operation before it complained about not having access to something at which point it would just stop.</p> <p>In UNIX you can use the God-like power of the root user to overcome this problem, but in Windows Administrator is bound by permissions like everyone else.</p> <p>The solution is to use the Windows Backup utility. This saves a backup of the directory of your choice and doesn't care about permissions because, when you restore the directory, the permissions and file ownership you get are identical to what you had before. There's no way to change this, so security isn't compromised by taking the backup.</p> <p>So if you just want to preserve something against possible overwriting, use the Backup utility. On XP this is usually at: <strong>Start </strong>&gt; <strong>Programs </strong>&gt; <strong>Accessories </strong>&gt; <strong>System Tools </strong>&gt; <strong>Backup</strong>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/10/23/taking-a-backup-copy-of-a-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SFU and Windows 2003 Server SP2</title>
		<link>http://www.itauthor.com/2007/10/19/sfu-and-windows-2003-server-sp2/</link>
		<comments>http://www.itauthor.com/2007/10/19/sfu-and-windows-2003-server-sp2/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 15:08:14 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/10/19/sfu-and-windows-2003-server-sp2/</guid>
		<description><![CDATA[I just installed SP2 on a server running Windows 2003 Server and discovered that, after rebooting, SFU (Windows Services for UNIX) is broken. To be specific, SFU services don't start and if you open a console you don't get a command prompt. Apparently this is a known issue and you have reinstall SFU 3.5 all [...]]]></description>
			<content:encoded><![CDATA[<p>I just installed SP2 on a server running Windows 2003 Server and discovered that, after rebooting, SFU (Windows Services for UNIX) is broken. To be specific, SFU services don't start and if you open a console you don't get a command prompt.</p> <p>Apparently this is a known issue and you have reinstall SFU 3.5 all over again after installing SP2.</p> <p>Pain!</p> <p>-------------------------</p> <p>Thanks to the Support guys at work, I've discovered that the problem doesn't, after all, involve reinstalling SFU. The problem is well described here:</p> <p><a title="http://blogs.msdn.com/sfu/archive/2007/04/27/windows-server-2003-sp2-breaks-sfu.aspx" href="http://blogs.msdn.com/sfu/archive/2007/04/27/windows-server-2003-sp2-breaks-sfu.aspx">http://blogs.msdn.com/sfu/archive/2007/04/27/windows-server-2003-sp2-breaks-sfu.aspx</a></p> <p><font face="Arial" color="#804040" size="2">The root cause lies with SP2 unintentionally replacing the SFU 3.5 Interix binaries and Password Synchronization binaries with corresponding R2 binaries. The specific files that get replaced after installing SP2 are psxss.exe, psxdll.dll and pswdsync.dll. First two are part of the SFU 3.5 Interix subsystem and the last belongs to SFU 3.5 Password Synchronization component.</font></p> <p>Microsoft has now produced a hotfix that solves the problem by putting back a working version of <strong>psxss.exe</strong>:</p> <p><a title="http://support.microsoft.com/kb/936529" href="http://support.microsoft.com/kb/936529">http://support.microsoft.com/kb/936529</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/10/19/sfu-and-windows-2003-server-sp2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Splitting files</title>
		<link>http://www.itauthor.com/2007/10/14/splitting-files/</link>
		<comments>http://www.itauthor.com/2007/10/14/splitting-files/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 09:08:47 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/10/14/splitting-files/</guid>
		<description><![CDATA[Ever needed to chop a big file into manageable chunks? The other day I had to transfer a 2.4 GB zip file, containing a VMware virtual machine, from my PC at work to my home PC (I was working from home). I kicked off the file copy in the evening, using WinSCP and went to [...]]]></description>
			<content:encoded><![CDATA[<p>Ever needed to chop a <em>big</em> file into manageable chunks?</p>  <p>The other day I had to transfer a 2.4 GB zip file, containing a VMware virtual machine, from my PC at work to my home PC (I was working from home). I kicked off the file copy in the evening, using WinSCP and went to bed expecting it to be done by the next morning. Unfortunately the connection had dropped and the copy wouldn't resume, meaning I had to start over. To avoid the same thing happening again I used Accusplit to chop the file into 156 files of 15 MB each.</p>  <p>Copying these across took all day. I started at 7.30 in the morning and it finished just before 6 in the evening. But when I'd done it and I had all 156 files home-side, Accusplit rebuilt the 2.4 GB zip file in just over 4 minutes.</p>  <p>I use Accusplit 3.5, but 4.1 is now available, with 4.5 in beta. It's shareware and you can download it from:</p>  <p><a title="http://members.cox.net/accusplit_support/index.htm" href="http://members.cox.net/accusplit_support/index.htm">http://members.cox.net/accusplit_support/index.htm</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/10/14/splitting-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Start &gt; Run shortcuts</title>
		<link>http://www.itauthor.com/2007/10/10/more-start-run-shortcuts/</link>
		<comments>http://www.itauthor.com/2007/10/10/more-start-run-shortcuts/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 08:53:20 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/10/10/more-start-run-shortcuts/</guid>
		<description><![CDATA[Back in March I blogged a few useful shortcuts that you can get by pressing Windows&#160;key&#160;+ R&#160; and then entering a command (e.g. calc for the Windows calculator). Here's that list again, with a few new additions: Press&#160;Windows&#160;key&#160;+ R&#160; then enter: acrobat - Acrobat (if installed) appwiz.pl - Add/Remove Programs calc - calculator charmap - [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.itauthor.com/2007/03/05/windows-start-run-keyboard-shortcuts/">Back in March</a> I blogged a few useful shortcuts that you can get by pressing <strong>Windows&nbsp;key&nbsp;+ R</strong>&nbsp; and then entering a command (e.g. <strong>calc </strong>for the Windows calculator). Here's that list again, with a few new additions:</p> <p>Press&nbsp;<strong>Windows&nbsp;key&nbsp;+ R</strong>&nbsp; then enter: <ul> <li><strong>acrobat</strong> - Acrobat (if installed) <li><strong>appwiz.pl</strong> - Add/Remove Programs <li><strong><strong>calc</strong> - calculator </strong> <li><strong>charmap</strong> - character map  <li><strong>control</strong> - Control Panel  <li><strong>control printers</strong>&nbsp;-&nbsp;Printers &amp; Faxes dialog box&nbsp; <li><strong>control&nbsp;schedtasks</strong>&nbsp;-&nbsp;Scheduled Tasks&nbsp; <li><strong>excel </strong>- Excel (if installed) <li><strong>explorer </strong>- Windows Explorer <li><strong>illustrator</strong>&nbsp;-&nbsp;Illustrator (if installed)&nbsp; <li><strong>nero </strong>- Nero (if installed)&nbsp;  <li><strong>notepad</strong> - Notepad  <li><strong>photoshop</strong> - Photoshop (if installed) <li><strong>regedit</strong> - Registry Editor <li><strong>winver</strong> - shows the version of Windows  <li><strong>winword</strong> -&nbsp;Word (if installed)&nbsp;&nbsp; &nbsp; <li><strong>wmplayer</strong>&nbsp;- Windows Media Player  <li><strong>write</strong> - WordPad </li> <li><strong>wupdmgr</strong> - Windows Update Web site</li></ul> <p><a href="http://www.itauthor.com/2007/03/05/windows-start-run-keyboard-shortcuts/"><a href="http://www.itauthor.com/2007/03/05/windows-start-run-keyboard-shortcuts/"></a></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/10/10/more-start-run-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memory Builder version 1.0 released</title>
		<link>http://www.itauthor.com/2007/10/07/memory-builder-version-10-released/</link>
		<comments>http://www.itauthor.com/2007/10/07/memory-builder-version-10-released/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 22:43:25 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[View all]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/10/07/memory-builder-version-10-released/</guid>
		<description><![CDATA[I've just released onto the world my first publicly available desktop application. I call it Memory Builder. It was designed to help my kids build up their French vocabulary, but you could use it to test yourself on almost any subject where small questions and answers work. The idea is that you add in a [...]]]></description>
			<content:encoded><![CDATA[<p>I've just released onto the world my first publicly available desktop application. I call it Memory Builder. It was designed to help my kids build up their French vocabulary, but you could use it to test yourself on almost any subject where small questions and answers work.</p>
<p>The idea is that you add in a selection of questions/answers (e.g. words/phrases in German and their English meanings, or questions about car engine parts and the answers to those questions), then you just test yourself by going through a few questions every now and again and checking the answers if you need to. I have the program set as a scheduled task so that it pops up every couple of hours and I can do a few questions, or just click <strong>Quit</strong>. The questions are randomly selected, so you get different ones coming up each time.</p>
<p>The installer I've put up for download comes with a default French/English data file. This presents French words/phrases. You've got to remember the English meanings. Click <strong>Next </strong>to page through from one French word/phrase to the next: <br style="" />
<a href="http://www.itauthor.com/wp-content/uploads/2007/10/memorybuilder1-0-french.png" atomicselection="true"> <img height="210" width="350" border="0" style="border: 0px none ;" alt="MemoryBuilder1-0-French" src="http://www.itauthor.com/wp-content/uploads/2007/10/memorybuilder1-0-french-thumb.png" /></a><br style="" />
You can click <strong>English</strong> if you can't remember the word/phrase. <br style="" />
<a href="http://www.itauthor.com/wp-content/uploads/2007/10/memorybuilder1-0-english.png" atomicselection="true"><img height="214" width="350" border="0" style="border: 0px none ;" alt="MemoryBuilder1-0-English" src="http://www.itauthor.com/wp-content/uploads/2007/10/memorybuilder1-0-english-thumb.png" /></a>  <br style="" />
To add or remove&nbsp;&nbsp;entries to/from the data file, click <strong>Feed</strong>. <br style="" />
<a href="http://www.itauthor.com/wp-content/uploads/2007/10/memorybuilder1-0-questionanswer.png" atomicselection="true"><img height="552" width="350" border="0" style="border: 0px none ;" alt="MemoryBuilder1-0-QuestionAnswer" src="http://www.itauthor.com/wp-content/uploads/2007/10/memorybuilder1-0-questionanswer-thumb.png" /></a>&nbsp; <br style="" />
Scroll to the bottom and add more French words and their English meanings, or click in the left, grey column to highlight a row and press Delete on the keyboard to remove it. To get rid of everything and add your own data, highlight the lot and press Delete.  The Properties tab allows you to change the button text from French/English to something that suits your questions/answers.  </p>
<p><a href="http://www.itauthor.com/downloads">See the Downloads page for a link to the Memory Builder installer.</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/10/07/memory-builder-version-10-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Free text editor</title>
		<link>http://www.itauthor.com/2007/08/28/free-text-editor/</link>
		<comments>http://www.itauthor.com/2007/08/28/free-text-editor/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 10:25:46 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Authoring tools]]></category>
		<category><![CDATA[View all]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/08/28/free-text-editor/</guid>
		<description><![CDATA[Looking for good, free text editor? Try Notepad++. http://notepad-plus.sourceforge.net/uk/site.htm As its name suggests, it's a Notepad replacement aimed at programmers. I recommended JEdit a while back, but I find JEdit is slow to load and memory hungry. Its interface is also very Java-ish, which seems like a nice change to begin with but after a [...]]]></description>
			<content:encoded><![CDATA[<p>Looking for good, free text editor? Try Notepad++. </p> <p><a title="http://notepad-plus.sourceforge.net/uk/site.htm" href="http://notepad-plus.sourceforge.net/uk/site.htm">http://notepad-plus.sourceforge.net/uk/site.htm</a></p> <p>As its name suggests, it's a Notepad replacement aimed at programmers. I recommended JEdit a while back, but I find JEdit is slow to load and memory hungry. Its interface is also <em>very</em> Java-ish, which seems like a nice change to begin with but after a while it starts to feel clunky and unresponsive and you want to get back to native Windows apps. I still use JEdit for Search/Replace, but Notepad++ is good if you want a decent text editor but don't want to pay for UltraEdit.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/08/28/free-text-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Autostarting server programs in SFU</title>
		<link>http://www.itauthor.com/2007/08/23/autostarting-server-programs-in-sfu/</link>
		<comments>http://www.itauthor.com/2007/08/23/autostarting-server-programs-in-sfu/#comments</comments>
		<pubDate>Thu, 23 Aug 2007 10:21:29 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/08/23/autostarting-server-programs-in-sfu/</guid>
		<description><![CDATA[I have Apache Web server running on an SFU machine. This copy of Apache came from Interop Systems. Unlike a Windows version of Apache like the one that comes with XAMPP, this Apache doesn't come with a control panel or a Windows Service to autostart it every time the computer boots. So how do I [...]]]></description>
			<content:encoded><![CDATA[<p>I have Apache Web server running on an SFU machine. This copy of Apache came from Interop Systems. Unlike a Windows version of Apache like the one that comes with XAMPP, this Apache doesn't come with a control panel or a Windows Service to autostart it every time the computer boots.</p> <p>So how do I get it to autostart.</p> <p>One solution was provided by my colleague Andrew Waterson:</p> <ol> <li>Create a Windows shortcut for an SFU command console.<br />To do this go into Start &gt; Programs &gt; Windows Services for UNIX and copy the shortcut for C shell or Korn shell.</li> <li>Put this shortcut in the Start &gt; Programs &gt; Startup folder.</li> <li>Edit the properties of the shortcut. Change its name and add to the end of the Target string the command you want to execute.<br />For example, I want to run <strong>/usr/local/apache2/bin/apachectl start </strong>every time the computer boots. So the Target for my shortcut becomes:<br /><strong>C:\WINDOWS\system32\posix.exe /u /c /bin/ksh -l /usr/local/apache2/bin/apachectl start</strong></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/08/23/autostarting-server-programs-in-sfu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Killing multiple processes at once</title>
		<link>http://www.itauthor.com/2007/08/07/killing-multiple-processes-at-once/</link>
		<comments>http://www.itauthor.com/2007/08/07/killing-multiple-processes-at-once/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 15:18:58 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/08/07/killing-multiple-processes-at-once/</guid>
		<description><![CDATA[My PC was running very slowly. One look in the Task Manager showed&#160;me the problem. I had a couple of hundred cron processes sitting there - some cron job&#160;whose process started but never finished.&#160;The trouble is that Task Manager only allows you to kill them one by one. I needed to zap them all. ProKill [...]]]></description>
			<content:encoded><![CDATA[<p>My PC was running very slowly. One look in the Task Manager showed&nbsp;me the problem. I had a couple of hundred cron processes sitting there - some cron job&nbsp;whose process started but never finished.&nbsp;The trouble is that Task Manager only allows you to kill them one by one. I needed to zap them all.</p> <p>ProKill is a useful little utility for Windows that helps you do this. Download it from:</p> <p><a title="http://www.white-scorpion.nl/programs/index.html" href="http://www.white-scorpion.nl/programs/index.html">http://www.white-scorpion.nl/programs/index.html</a></p> <p>Put the <strong>pk.exe</strong> file somewhere in your PATH (you can check what's in your path by entering <strong>echo %PATH%</strong> at a DOS prompt).</p> <p>You can then go to a command console and do:</p> <p><strong>pk -l</strong></p> <p>to list all the currently running processes. And:</p> <p><strong>pk -n cron</strong></p> <p>To kill all those named "cron". Works a treat.</p> <p>For the other options just enter:</p> <p><strong>pk</strong></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/08/07/killing-multiple-processes-at-once/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stopping IE7 displaying the about:tabs page</title>
		<link>http://www.itauthor.com/2007/06/20/stopping-ie7-displaying-the-abouttabs-page/</link>
		<comments>http://www.itauthor.com/2007/06/20/stopping-ie7-displaying-the-abouttabs-page/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 21:35:49 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/06/20/stopping-ie7-displaying-the-abouttabs-page/</guid>
		<description><![CDATA[Another one for IE7 users. Similar to the last one but this time "about:tabs" rather than "about:blank". If on opening a new tab you see the "about:tabs" page and checking the Don't show this page again check box has no effect, you can modify your Registry to fix the problem (looks like something Microsoft forgot [...]]]></description>
			<content:encoded><![CDATA[<p></p> <p>Another one for IE7 users. Similar to the last one but this time "about:tabs" rather than "about:blank". <p>If on opening a new tab you see the "about:tabs" page and checking the <strong>Don't show this page again</strong> check box has no effect, you can modify your Registry to fix the problem (looks like something Microsoft forgot to put in there).  <p>Note: Don't attempt the following unless you're familiar with editing the Windows Registry and are aware of the inherent dangers in doing so. Always export a copy of the Registry (or the bit of it you're changing) <em>before</em> making any changes. <ol> <li>Go to: <br />[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing]  <li>Add a new DWORD called <br /><strong>ShowTabsWelcome</strong><br />with a value of 0  <li>Restart IE7.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/06/20/stopping-ie7-displaying-the-abouttabs-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stopping IE7 displaying the about:blank page</title>
		<link>http://www.itauthor.com/2007/06/20/removing-aboutblank-from-ie7/</link>
		<comments>http://www.itauthor.com/2007/06/20/removing-aboutblank-from-ie7/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 21:23:55 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/06/20/removing-aboutblank-from-ie7/</guid>
		<description><![CDATA[When I open a new tab in IE7 I expect it to show something. By default, however, it loads a blank page (about:blank). To me, opening a blank page just feels like a bug somehow, even if it does get the tab opened quicker and the chances are the first thing you're going to do [...]]]></description>
			<content:encoded><![CDATA[When I open a new tab in IE7 I expect it to show something. By default, however, it loads a blank page (about:blank).

To me, opening a blank page just feels like a bug somehow, even if it does get the tab opened quicker and the chances are the first thing you're going to do is put a URL in the address bar or do a search from your Google toolbar.

So if, like me,&nbsp; you don't like getting the about:blank page, here's what to do:
<ol>
	<li>Choose <strong>Tools </strong>&gt; <strong>Internet Options</strong>.</li>
	<li>In the Tabs section of the General tab, choose <strong>Settings</strong>.</li>
	<li>Select the <strong>Open home page for new tabs instead of a blank page</strong> check box.</li>
	<li>Click <strong>OK</strong>.</li>
	<li>Click <strong>OK </strong>again on the Internet Options dialog box.</li>
	<li>Try opening a new tab. You should see you first-choice home page.</li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/06/20/removing-aboutblank-from-ie7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scheduled zip file creation</title>
		<link>http://www.itauthor.com/2007/06/18/scheduled-zip-file-creation/</link>
		<comments>http://www.itauthor.com/2007/06/18/scheduled-zip-file-creation/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 10:33:53 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Authoring tools]]></category>
		<category><![CDATA[View all]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/06/18/scheduled-zip-file-creation/</guid>
		<description><![CDATA[7-Zip is an open-source alternative to WinZip. It has a Windows user interface, but the reason I came across it is that it has a command-line interface that allows you to include it in a DOS batch script to create scheduled backups to zip. As well as zip file, you can also create tar file. [...]]]></description>
			<content:encoded><![CDATA[<p>7-Zip is an open-source alternative to WinZip. It has a Windows user interface, but the reason I came across it is that it has a command-line interface that allows you to include it in a DOS batch script to create scheduled backups to zip.</p> <p>As well as zip file, you can also create tar file.</p> <p>Website: <a title="http://www.7-zip.org/" href="http://www.7-zip.org/">http://www.7-zip.org/</a></p> <p>User interface:</p> <p><a href="http://www.itauthor.com/wp-content/uploads/2007/06/7-zip2.png" atomicselection="true"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="279" alt="7-zip" src="http://www.itauthor.com/wp-content/uploads/2007/06/7-zip-thumb1.png" width="512" border="0"></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/06/18/scheduled-zip-file-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Live Writer release</title>
		<link>http://www.itauthor.com/2007/05/31/new-live-writer-release/</link>
		<comments>http://www.itauthor.com/2007/05/31/new-live-writer-release/#comments</comments>
		<pubDate>Thu, 31 May 2007 10:26:45 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/05/31/new-live-writer-release/</guid>
		<description><![CDATA[There's a new release of the brilliant Windows Live Writer program that provides the best way to update your blog. The new release is available at: http://writer.live.com/ The new version allows you to add tables: Heading A Heading B Cell A1 Cell B1 Cell A2 Cell B2 maps: and ariel photos:]]></description>
			<content:encoded><![CDATA[<p>There's a new release of the brilliant Windows Live Writer program that provides the best way to update your blog.</p> <p>The new release is available at:</p> <p><a title="http://writer.live.com/" href="http://writer.live.com/">http://writer.live.com/</a></p> <p>The new version allows you to add tables:</p> <table cellspacing="2" cellpadding="2" width="400" border="1" unselectable="on"> <tbody> <tr> <td valign="top" width="200">Heading A</td> <td valign="top" width="200">Heading B</td></tr> <tr> <td valign="top" width="200">Cell A1</td> <td valign="top" width="200">Cell B1</td></tr> <tr> <td valign="top" width="200">Cell A2</td> <td valign="top" width="200">Cell B2</td></tr></tbody></table> <p>maps:</p> <p> <div class="wlWriterSmartContent" id="84E294D0-71C9-4bd0-A0FE-95764E0368D9:9c1ff031-d294-4ff3-a66e-05f909331f37" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; width: 440px; padding-top: 0px"><a href="http://maps.live.com/default.aspx?v=2&amp;cp=55.92478~-3.194962&amp;lvl=12&amp;style=r" id="map-d7751abb-473b-4b94-8584-e1bc095c31bb" alt="Click to view this map on Live.com" title="Click to view this map on Live.com"><img src="http://www.itauthor.com/wp-content/uploads/2007/05/map-25f101738326.jpg" width="440" height="375"></a></div></p> <p>and ariel photos:</p> <p> <div class="wlWriterSmartContent" id="84E294D0-71C9-4bd0-A0FE-95764E0368D9:5fb8841b-9e77-4877-954f-7d90700b7251" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; width: 535px; padding-top: 0px"><a href="http://maps.live.com/default.aspx?v=2&amp;cp=56.33757~-2.810392&amp;lvl=18&amp;style=a" id="map-0318ae83-b443-47a6-9991-fb3648769e1e" alt="Click to view this map on Live.com" title="Click to view this map on Live.com"><img src="http://www.itauthor.com/wp-content/uploads/2007/05/map-2a7014eed316.jpg" width="535" height="275"></a></div></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/05/31/new-live-writer-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Ctrl+Alt+Delete in Remote Desktop</title>
		<link>http://www.itauthor.com/2007/03/26/how-to-ctrlaltdelete-in-remote-desktop/</link>
		<comments>http://www.itauthor.com/2007/03/26/how-to-ctrlaltdelete-in-remote-desktop/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 21:39:10 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/03/26/how-to-ctrlaltdelete-in-remote-desktop/</guid>
		<description><![CDATA[Here's a puzzler. I'm working in Remote Desktop as usual, driving my office PC from my home PC. Suddenly, Explorer dies. My Windows Explorer windows disappear, as does the Windows task bar. What do I do?&#160; Whenever this happens on the local machine I simply Ctrl+Alt+Delete, fire up Task Manager, kill any explorer.exe process that's [...]]]></description>
			<content:encoded><![CDATA[<p>Here's a puzzler. I'm working in Remote Desktop as usual, driving my office PC from my home PC. Suddenly, Explorer dies. My Windows Explorer windows disappear, as does the Windows task bar. What do I do?&nbsp;</p> <p>Whenever this happens on the local machine I simply Ctrl+Alt+Delete, fire up Task Manager, kill any explorer.exe process that's hanging around and start a new <strong>explorer</strong> task, at which point the Windows task bar reappears and I can open up a new Windows Explorer window.</p> <p>But what happens when you're using Remote Desktop? You need to fire up Task Manager but there's no task bar and pressing Ctrl+Alt+Delete displays the Task Manager for the <em>local</em> machine. </p> <p>The answer is simple. Press Ctrl+Alt+<strong>End</strong>. This displays the Windows Security dialog box, which contains a Task Manager button. Problem solved!</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/03/26/how-to-ctrlaltdelete-in-remote-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stopping IE7 displaying the about: tabs page</title>
		<link>http://www.itauthor.com/2007/03/09/stopping-ie7-displaying-the-about-tabs-page/</link>
		<comments>http://www.itauthor.com/2007/03/09/stopping-ie7-displaying-the-about-tabs-page/#comments</comments>
		<pubDate>Fri, 09 Mar 2007 09:55:32 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/03/09/stopping-ie7-displaying-the-about-tabs-page/</guid>
		<description><![CDATA[A tip for IE7 users: If on opening a new tab you see the "about:tabs" page and checking the "Don't show this page again" check box has no effect, you can modify your Registry to fix the problem (looks like something Microsoft forgot to put in there). Note: Don't attempt the following unless you're familiar [...]]]></description>
			<content:encoded><![CDATA[<p></p> <p>A tip for IE7 users: </p> <p>If on opening a new tab you see the "about:tabs" page and checking the "Don't show this page again" check box has no effect, you can modify your Registry to fix the problem (looks like something Microsoft forgot to put in there). </p> <p>Note: Don't attempt the following unless you're familiar with editing the Windows Registry and are aware of the inherent dangers in doing so. Always export a copy of the Registry (or the bit of it you're changing) <em>before</em> making any changes.</p> <ol> <li>Go to: <br />[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing] </li> <li>Add a new DWORD called <br /><strong>ShowTabsWelcome</strong> <br />with a value of 0 </li> <li>Restart IE7.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/03/09/stopping-ie7-displaying-the-about-tabs-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XAMPP &#8211; Web server + MySQL in minutes</title>
		<link>http://www.itauthor.com/2007/03/01/xampp-web-server-mysql-in-minutes/</link>
		<comments>http://www.itauthor.com/2007/03/01/xampp-web-server-mysql-in-minutes/#comments</comments>
		<pubDate>Thu, 01 Mar 2007 11:18:53 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/03/01/xampp-web-server-mysql-in-minutes/</guid>
		<description><![CDATA[Useful tip if you ever need to get a Web server up &#38; running on Windows ASAP. Use XAMPP: http://www.apachefriends.org/en/xampp-windows.html It's a Windows installer that installs the following in minutes: Apache 2.2.4 MySQL 5.0.33 PHP 5.2.1 &#38; PHP 4.4.5 phpMyAdmin 2.9.2 FileZilla FTP Server 0.9.22 OpenSSL 0.9.8d There's also a separate installer that adds Perl [...]]]></description>
			<content:encoded><![CDATA[<p></p> <p>Useful tip if you ever need to get a Web server up &amp; running on Windows ASAP. Use XAMPP: </p> <p><a href="http://www.apachefriends.org/en/xampp-windows.html">http://www.apachefriends.org/en/xampp-windows.html</a></p> <p>It's a Windows installer that installs the following in minutes: </p> <ul> <li>Apache 2.2.4 </li> <li>MySQL 5.0.33</li> <li>PHP 5.2.1 &amp; PHP 4.4.5</li> <li>phpMyAdmin 2.9.2</li> <li>FileZilla FTP Server 0.9.22</li> <li>OpenSSL 0.9.8d </li></ul> <p>There's also a separate installer that adds Perl 5.8.</p> <p>It's an ultra-low hassle way to get yourself a working PHP-enabled Web server + MySQL.</p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/03/01/xampp-web-server-mysql-in-minutes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing the ActiveSync Guest connection problem</title>
		<link>http://www.itauthor.com/2006/12/13/fixing-the-activesync-guest-connection-problem/</link>
		<comments>http://www.itauthor.com/2006/12/13/fixing-the-activesync-guest-connection-problem/#comments</comments>
		<pubDate>Wed, 13 Dec 2006 09:48:41 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2006/12/13/fixing-the-activesync-guest-connection-problem/</guid>
		<description><![CDATA[My PDA is an XDA, which runs the PocketPC operating system, and I use ActiveSync 3.7 to connect it to my PCs at work and at home (mainly to load it up with podcasts to listen to in the car). I am convinced ActiveSync is one of the worst pieces of software Microsoft has ever [...]]]></description>
			<content:encoded><![CDATA[My PDA is an XDA, which runs the PocketPC operating system, and I use ActiveSync 3.7 to connect it to my PCs at work and at home (mainly to load it up with podcasts to listen to in the car). I am convinced ActiveSync is one of the worst pieces of software Microsoft has ever produced. I only use it because there seems to be no alternative. Apart from an appallingly poor interface, it is extremely prone to dropping the connection. 

One annoying thing it does from time to time is to connect as Guest, rather than the "partnership" you have set up. Here's how I solved this problem when it happened again this morning.

1. Start > Run
2. Enter: REGSVR32 MSXML.DLL
3. OK
4. Start > Run
5. Enter: REGSVR32 MSXML3.DLL
6. OK
7. Restart Windows.
8. Connect the PDA.
9. If a dialog box is displayed for changing the device name, Cancel this.
9. The PDA may at this point connect as Guest again.
10. Disconnect the PDA and connect it again.
You should now connect using the existing partnership.

This did it for me. But there seem to be many things that could cause the automatic Guest connection. See <a href="http://www.pocketpcfaq.com/faqs/activesync/guest.htm#Guest%20Issues">www.pocketpcfaq.com/faqs/activesync/</a> for more assistance.]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2006/12/13/fixing-the-activesync-guest-connection-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Vista and Office 2007 fonts</title>
		<link>http://www.itauthor.com/2006/11/28/new-vista-and-office-2007-fonts-3/</link>
		<comments>http://www.itauthor.com/2006/11/28/new-vista-and-office-2007-fonts-3/#comments</comments>
		<pubDate>Tue, 28 Nov 2006 16:24:44 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2006/11/28/new-vista-and-office-2007-fonts-3/</guid>
		<description><![CDATA[Microsoft Office 2007 and Vista come with some new Microsoft fonts. These fonts are used throughout Office 2007 &#8211; for example, for the Calibri is the new default body font in Word. This blog entry gives details and examples: http://neosmart.net/blog/archives/182 I've adopted these fonts as the first-choice fonts for a new WebHelp system I'm currently [...]]]></description>
			<content:encoded><![CDATA[Microsoft Office 2007 and Vista come with some new Microsoft fonts. These fonts are used throughout Office 2007 &ndash; for example, for the Calibri is the new default body font in Word. This blog entry gives details and examples:

<a href="http://neosmart.net/blog/archives/182">http://neosmart.net/blog/archives/182</a>

I've adopted these fonts as the first-choice fonts for a new WebHelp system I'm currently working on:

<strong>Headers</strong>: Segoe UI
<strong>Body</strong>: Calibri
<strong>Code/user input</strong>: Consolas
<strong>Notes</strong>: Corbel]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2006/11/28/new-vista-and-office-2007-fonts-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Changing the &#8220;View Source&#8221; editor in Internet Explorer</title>
		<link>http://www.itauthor.com/2006/10/03/changing-the-view-source-editor-in-internet-explorer/</link>
		<comments>http://www.itauthor.com/2006/10/03/changing-the-view-source-editor-in-internet-explorer/#comments</comments>
		<pubDate>Tue, 03 Oct 2006 20:38:13 +0000</pubDate>
		<dc:creator>alistair at home</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=216</guid>
		<description><![CDATA[By default when you right-click a Web page in Internet Explorer and choose to View Source, the application used to display the HTML is Notepad. You would expect to be able to change this application in Internet Options, but you can't. Instead, you need to go in and hack the Windows registry. The usual warning [...]]]></description>
			<content:encoded><![CDATA[By default when you right-click a Web page in Internet Explorer and choose to <strong>View Source</strong>, the application used to display the HTML is Notepad. You would expect to be able to change this application in <strong>Internet Options</strong>, but you can't. Instead, you need to go in and hack the Windows registry.

The usual warning about the Windows registry applies here. Export a backup of any part of the registry you are about to amend. And if you are not sure what the registry is or how to edit it, then stop right here - it's probably better that you don't mess around with it. You can do serious damage by introducing errors into the registry. If you <em>do</em> want to continue, I'd recommend you make a System Restore Point just to be on the safe side.

Use <strong>regedit</strong> to edit the registry.

Go to:

<pre>
HKEY_LOCAL_MACHINE
|
-&gt; Software
   |
   -&gt; Microsoft
      |
      -&gt; Internet Explorer
         |
         -&gt; View Source Editor
            |
            -&gt; Editor Name
</pre>            

Change the value of the <strong>Editor Name</strong> registry key to the full path to the executable file for the editor you want to use. In my case I wanted to use UltraEdit, so I entered: <strong>D:\programs\UltraEdit\uedit32.exe</strong>
            
The change takes effect immediately.]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2006/10/03/changing-the-view-source-editor-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove a Windows Service</title>
		<link>http://www.itauthor.com/2006/09/19/remove-a-windows-service/</link>
		<comments>http://www.itauthor.com/2006/09/19/remove-a-windows-service/#comments</comments>
		<pubDate>Tue, 19 Sep 2006 08:42:25 +0000</pubDate>
		<dc:creator>alistair at home</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=212</guid>
		<description><![CDATA[If you want to remove a Windows service the logical thing to do is to go to the Services application, select the service and click on Remove, or right-click and choose Remove from the shortcut menu. However, there are no such options. So there's no obvious way to remove the service. Here's what you have [...]]]></description>
			<content:encoded><![CDATA[If you want to remove a Windows service the logical thing to do is to go to the Services application, select the service and click on Remove, or right-click and choose Remove from the shortcut menu.

However, there are no such options. So there's no obvious way to remove the service. Here's what you have to do:

1.
In the Windows Services application, stop the service if it's currently running.

2.
You're going to be editing the Windows Registry, so make a Windows System Restore point first: 
Start &gt; Programs &gt; Accessories &gt; System Tools &gt; System Restore
Select "Create a restore point" and follow through the wizard.

3.
When you've done this, click the Windows Start button and choose Run.

4.
Enter "regedit" (without the quote marks) and click OK.

This launches the Windows Registry Editor.
If you've never been in here, be careful. In fact you should probably get out and go and read up about the Registry before doing anything else.

WARNING: DON'T MAKE ANY CHANGES IN THE REGISTRY EDITOR UNLESS YOU KNOW WHAT YOU ARE DOING.

5.
In the Registry Editor browse to:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services

6.
Expand the Services in the left pane.

7.
Right click the service you want to remove and choose Export.

8.
Save the Registry key as a file on your desktop - just in case you change your mind (or something goes wrong) and you need to reinstate it.

9.
In Registry Editor, right click the service you want to remove and this time choose Delete.

10.
Do the same thing (Export then Delete) to the same service in:
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services
etc.

11.
Close the Registry Editor.

12.
Restart Windows.

Note: you *must* restart Windows for the service to disappear completely. Logging off and back on again is not enough. Unless you restart the service will still appear in the Windows Services application.

13.
Once you restart Windows, check the Services application to make sure the service is gone.

If anything goes wrong, or you change your mind, use the exported keys on your desktop to reinstate the service. After a while, if you're happy no bad thing has happened, you can delete the exported registry keys.]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2006/09/19/remove-a-windows-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keyboard shortcuts for Remote Desktop and Firefox</title>
		<link>http://www.itauthor.com/2006/08/08/keyboard-shortcuts-for-remote-desktop-and-firefox/</link>
		<comments>http://www.itauthor.com/2006/08/08/keyboard-shortcuts-for-remote-desktop-and-firefox/#comments</comments>
		<pubDate>Tue, 08 Aug 2006 15:25:02 +0000</pubDate>
		<dc:creator>alistair at home</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=207</guid>
		<description><![CDATA[I use Remote Desktop when working from home. I also like using keyboard shortcuts. I was looking for a keyboard shortcut to get back from the remote desktop to the local desktop, to avoid having to click the Remote Desktop minimize button. The solution is Ctrl+Alt+Pause/Break - this reduces Remote Desktop to a window, allowing [...]]]></description>
			<content:encoded><![CDATA[I use Remote Desktop when working from home. I also like using keyboard shortcuts. I was looking for a keyboard shortcut to get back from the remote desktop to the local desktop, to avoid having to click the Remote Desktop minimize button. The solution is Ctrl+Alt+Pause/Break - this reduces Remote Desktop to a window, allowing you to tab between the windows on your local machine. With Remote Desktop as the current window, press Ctrl+Alt+Pause/Break again to maximize the window.

More Remote Desktop shortcuts here:

<a href="http://www.tipicalcharlie.com/swapping_windows_with_remote_desktop.htm">www.tipicalcharlie.com/swapping_windows_with_remote_desktop.htm</a>

While I'm on the subject of keyboard shortcuts, a useful one for Firefox users is Ctrl+Page Up or Ctrl+Page Down - these switch you from one Firefox tab to the next/previous.]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2006/08/08/keyboard-shortcuts-for-remote-desktop-and-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Office 2007 video</title>
		<link>http://www.itauthor.com/2006/04/13/new-office-2007-video/</link>
		<comments>http://www.itauthor.com/2006/04/13/new-office-2007-video/#comments</comments>
		<pubDate>Thu, 13 Apr 2006 13:40:22 +0000</pubDate>
		<dc:creator>alistair at work</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=194</guid>
		<description><![CDATA[The Microsoft Office team have released a new video presenting Office 2007. This is kind of a slickly produced version of Robert Scoble's on-the-hoof interview of Julie Larson-Green a few months back: www.microsoft.com/office/preview/ui/demo.mspx DevComponents have produced a tool for creating an Office-2007-like ribbon in your applications: www.devcomponents.com Another site worth keeping your eye on is [...]]]></description>
			<content:encoded><![CDATA[The Microsoft Office team have released a new video presenting Office 2007. This is kind of a slickly produced version of Robert Scoble's on-the-hoof interview of Julie Larson-Green a few months back:

<a href="http://www.microsoft.com/office/preview/ui/demo.mspx">www.microsoft.com/office/preview/ui/demo.mspx</a>

DevComponents have produced a tool for creating an Office-2007-like ribbon in your applications:

<a href="http://www.devcomponents.com/">www.devcomponents.com</a>

Another site worth keeping your eye on is Microsoft's Vista home site:

<a href="http://www.microsoft.com/windowsvista/default.aspx">www.microsoft.com/windowsvista/default.aspx</a>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2006/04/13/new-office-2007-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New home page for Windows SFU</title>
		<link>http://www.itauthor.com/2006/04/12/new-home-page-for-windows-sfu/</link>
		<comments>http://www.itauthor.com/2006/04/12/new-home-page-for-windows-sfu/#comments</comments>
		<pubDate>Wed, 12 Apr 2006 13:16:02 +0000</pubDate>
		<dc:creator>alistair at work</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=193</guid>
		<description><![CDATA[Microsoft have moved the home page for Windows SFU into their TechNet site at: www.microsoft.com/technet/interopmigration/unix/sfu/default.mspx The other important destination for SFU is Interop Systems, which is still at: www.interix.com What is SFU?Check out these pages:http://en.wikipedia.org/wiki/Services_for_UNIXhttp://reviews.zdnet.co.uk/software/os/0,39024175,39150908,00.htmwww.microsoft-watch.com/article2/0,4248,1434520,00.asp]]></description>
			<content:encoded><![CDATA[Microsoft have moved the home page for Windows SFU into their TechNet site at:

<a href="http://www.microsoft.com/technet/interopmigration/unix/sfu/default.mspx">www.microsoft.com/technet/interopmigration/unix/sfu/default.mspx</a>

The other important destination for SFU is Interop Systems, which is still at:

<a href="http://www.interix.com/">www.interix.com</a>


<h3>What is SFU?</h3><p>Check out these pages:</p><ul><li><a href="http://en.wikipedia.org/wiki/Services_for_UNIX">http://en.wikipedia.org/wiki/Services_for_UNIX</a></li><li><a href="http://reviews.zdnet.co.uk/software/os/0,39024175,39150908,00.htm">http://reviews.zdnet.co.uk/software/os/0,39024175,39150908,00.htm</a></li><li><a href="http://www.microsoft-watch.com/article2/0,4248,1434520,00.asp">www.microsoft-watch.com/article2/0,4248,1434520,00.asp</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2006/04/12/new-home-page-for-windows-sfu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scheduled deletion of old files &#8211; improved</title>
		<link>http://www.itauthor.com/2005/12/20/scheduled-deletion-of-old-files-improved/</link>
		<comments>http://www.itauthor.com/2005/12/20/scheduled-deletion-of-old-files-improved/#comments</comments>
		<pubDate>Tue, 20 Dec 2005 08:16:55 +0000</pubDate>
		<dc:creator>alistair at home</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=175</guid>
		<description><![CDATA[I've tweaked the script in my previous posting. The method described previously left a command console open displaying the files that had been deleted. This worked OK, but wasn't terribly smart because I'm not in the office every day, and the program didn't exit until I'd closed the console window. A better way is to [...]]]></description>
			<content:encoded><![CDATA[<p>I've tweaked the script in <a href="http://www.itauthor.com/notes/archives/2005/12/scheduled_delet.html">my previous posting</a>. The method described previously left a command console open displaying the files that had been deleted. This worked OK, but wasn't terribly smart because I'm not in the office every day, and the program didn't exit until I'd closed the console window.</p>

<p>A better way is to get the script to email the list of which files had been deleted. This is what the following script does. It also dispenses with the need for a batch file. The Windows scheduled task can then call the script directly. In my case, the scheduled task executes the command: </p>

<p><strong>C:\Perl\bin\perl.exe D:\MyStuff\PerlScripts\deleter-scripts\deleter.pl 1 "C:\Documents and Settings\ac\My Documents\XDA6 My Documents\podcasts"</strong><br />
 <br />
The script relies on you being on a network on which a mail server is available. That way sendmail is able to work its magic and deliver the email for you. All you need to do is change the value of <strong>$mailto</strong> to the email address you want the message to be sent to.</p>

<p>The revised script:<br />
</p>
<span id="more-175"></span>




<h1>deleter.pl</h1>
<hr />
<!-- contents of filename: deleter.pl -->
<pre>
#!perl -w

use strict;
use File::Find;

# This script deletes all files older than a specified age
# in, ***or below***, a specified directory 
# (or the current directory if none specified)
# and emails the results to the address given in the script. 

# To test the script (i.e. list files that would have been
# deleted, without actually deleting them),
# comment out the line containing &quot;unlink $_&quot;.

usage() if (! @ARGV || $ARGV[0] =~ /\D/);

my $age = $ARGV[0];
my $dir = $ARGV[1] || '.';
my $message  = &quot;\nThe following files have been deleted:\n&quot;;
my $files    = &quot;&quot;;
### If you're running it from SFU use this path:
### my $sendmail     = &quot;/usr/sbin/sendmail&quot;;
### If you're running it from a Windows shell use this path:
my $sendmail     = &quot;C:\\SFU\\usr\\sbin\\sendmail&quot;;
my $mailsubject  = &quot;Old podcast files deleted&quot;;
my $mailto       = &quot;you\@your.com&quot;;

find(sub { $files .= &quot;$_\n&quot; if (-M $_ &gt; $age &amp;&amp; $_ ne &quot;.&quot;); }, $dir);
find(sub { unlink $_ if (-M $_ &gt; $age &amp;&amp; $_ ne &quot;.&quot;); }, $dir);

$message=&quot;\nNo files were deleted.\n\n&quot; unless $files;
print $message.$files;

open (MAIL, &quot;|$sendmail -t &quot;) or die &quot;Cannot open $sendmail: $!&quot;;
        print MAIL &quot;From: \&quot;deleter.pl script\&quot; &lt;$mailto&gt;\n&quot;;
        print MAIL &quot;To: $mailto\n&quot;;
        print MAIL &quot;Content-Type: text/plain\n&quot;;
        print MAIL &quot;Subject: $mailsubject\n\n&quot;;
        print MAIL $message.$files;
close (MAIL);


<a name="usage-"></a>sub usage {
print &lt;&lt;'EOF';

USAGE:
========
&lt;scriptname&gt; n [directory]

Where:
- scriptname is the name of this Perl script.
- n is the number of days previous to today.
- directory is an optional parameter that specifies 
  the directory where files exist. 
  Note: the default is the current directory.

For example: 
- &quot;perl deleter.pl 5&quot; - deletes files older than 5 days.
- &quot;perl deleter.pl 120 c:\temp&quot; - deletes files in or below the 
  c:\temp directory that are older than 120 days.
EOF
exit;
}</pre>

<hr />

<p>I have this script scheduled to be run once a day at 5.00 am. Here's an example of the email that's waiting for me in my inbox every morning:</p>

<p><img alt="deleter.pl-email.png" src="http://www.itauthor.com/notes/images/deleter.pl-email.png" width="594" height="348" /></p>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2005/12/20/scheduled-deletion-of-old-files-improved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scheduled deletion of old files</title>
		<link>http://www.itauthor.com/2005/12/12/scheduled-deletion-of-old-files/</link>
		<comments>http://www.itauthor.com/2005/12/12/scheduled-deletion-of-old-files/#comments</comments>
		<pubDate>Mon, 12 Dec 2005 15:48:44 +0000</pubDate>
		<dc:creator>alistair at home</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=174</guid>
		<description><![CDATA[I use Juice to automatically download podcast files (MP3s) into C:\Documents and Settings\ac\My Documents\XDA6 My Documents\. ActiveSync then automatically uploads these files onto my PDA when I connect it to the PC. The result is that I always have lots of new podcasts to listen to on my PDA. All well and good but I [...]]]></description>
			<content:encoded><![CDATA[<p>I use Juice to automatically download podcast files (MP3s) into <strong>C:\Documents and Settings\ac\My Documents\XDA6 My Documents\</strong>. ActiveSync then automatically uploads these files onto my PDA when I connect it to the PC. The result is that I always have lots of new podcasts to listen to on my PDA.</p>

<p>All well and good but I have limited space on my storage card, so I need to keep deleting the files from my PC, or they get loaded onto my PDA - just deleting them from the PDA isn't enough because they just reappear next time the PDA syncs with the PC.</p>

<p>What I need is for the old files to be deleted automatically, so that they don't accumulate.</p>

<p>To do this I created (or more correctly, modified) a script that deletes files based on their modification date. I then created a Windows schedule to run this script every day. </p>

<p>Here are the details.</p>

<p>[NOTE: See also the new, improved version: Tuesday, 20 December.]</p>
<span id="more-174"></span>
There are 3 elements to this:<br />
1) A Windows batch file<br />
2) The script - a small Perl script.<br />
3) A Windows "Scheduled Tasks" entry.<br />
<br />
The batch file (<strong>run-deleter-script.bat</strong>) is simply used to run the Perl script. <br />
<br />
The Perl script (<strong>deleter.pl</strong>) deletes old files in a specified directory. The age of the files to be deleted and the directory in and under which all files are deleted is specified in the batch file.<br />
<br />
The reason I use a batch file, rather than just running the Perl script is that this way the command console window stays open, telling me what files have been deleted.<br />
<br />
There's another version of the Perl script (<strong>deleter-nonrecursive.pl</strong>) that only deletes files in the specified directory, and doesn't recurse down into the child directories looking for &amp; deleting old files.<br />
<br />
The original source for the Perl scripts is given in my version of the scripts - see below.<br />
<br />
To set up the Windows scheduled task go to:<br />
<strong>Start &gt; Programs &gt; Accessories &gt; System Tools &gt; Scheduled Tasks</strong><br />
In the wizard choose the batch file and set up how often you want it to run. Unfortunately you're limited to a maximum frequency of once a day.<br />
<br />
<strong>NOTES</strong>: <br />
<strong>1</strong>) If you don't already have Perl on your PC, download the free Standard Distribution from <a href="http://www.activestate.com/Products/ActivePerl/">www.activestate.com</a>.<br />
<strong>2</strong>) Before you run these, I'd recommend setting the script to print out the list of files only, and not delete anything until you're sure it's working properly. To test the script and batch file, don't use the scheduler, just double-click the batch file in Windows Explorer.<br />
<br />
<strong>The scripts</strong><br />
<br />




<h1>deleter.pl</h1>
<hr />
<!-- contents of filename: deleter.pl -->
<pre>
#!perl -w

use strict;
use File::Find;

# This script deletes all files older than a specified age
# in, ***or below***, a specified directory 
# (or the current directory if none specified).

# To simply print the names of files, 
# instead of actually deleting them (i.e. for testing),
# comment out the line containing: 'unlink $_'

# To delete the files without printing a list of matched files,
# comment out the line containing: 'print &quot;$_\n&quot;'

usage() if (! @ARGV || $ARGV[0] =~ /\D/);

my $age = $ARGV[0];
my $dir = $ARGV[1] || '.';

print &quot;\nThe following files have been deleted:\n&quot;;
find(sub { print &quot;$_\n&quot; if -M $_ &gt; $age; }, $dir);
find(sub { unlink $_ if -M $_ &gt; $age; }, $dir);

<a name="usage-"></a>sub usage {
print &lt;&lt;'EOF';

USAGE:
========
&lt;scriptname&gt; n [directory]

Where:
- scriptname is the name of this Perl script.
- n is the number of days previous to today.
- directory is an optional parameter that specifies 
  the directory where files exist. 
  Note: the default is the current directory.

For example: 
- &quot;perl deleter.pl 5&quot; - deletes files older than 5 days.
- &quot;perl deleter.pl 120 c:\temp&quot; - deletes files from the 
  c:\temp directory that are older than 120 days.
EOF
exit;
}

# Credit:
# This script was based heavily on a script posted by &quot;FishMonger&quot;
# on the Computing.net forum:
# http://computing.net/programming/wwwboard/forum/13717.html
# on December 06, 2005 at 16:22:31 Pacific

# Modified 12 December 2005 by Alistair Christie (www.itauthor.com/notes).
<a name="EOF-"></a></pre>
<br />



<h1>deleter-nonrecursive.pl</h1>
<hr />
<!-- contents of filename: deleter-nonrecursive.pl -->
<pre>
#!perl -w

use strict;

# This script deletes all files older than a specified age
# in a specified directory (or the current directory if none specified).

# To simply print the names of files, 
# instead of actually deleting them (i.e. for testing),
# comment out the line containing: 'unlink $_'

# To delete the files without printing a list of matched files,
# comment out the line containing: 'print $_'

usage() if (! @ARGV || $ARGV[0] =~ /\D/);

my $age = $ARGV[0];
my $dir = $ARGV[1] || '.';

print &quot;\nThe following files have been deleted:\n&quot;;
while (&lt;$dir/*&gt;) { print &quot;$_\n&quot; if -M $_ &gt; $age; }
while (&lt;$dir/*&gt;) { unlink $_ if -M $_ &gt; $age; }

<a name="usage-"></a>sub usage {
print &lt;&lt;'EOF';

USAGE:
========
&lt;scriptname&gt; n [directory]

Where:
- scriptname is the name of this Perl script.
- n is the number of days previous to today.
- directory is an optional parameter that specifies 
  the directory where files exist. 
  Note: the default is the current directory.

For example: 
- &quot;perl deleter.pl 5&quot; - deletes files older than 5 days.
- &quot;perl deleter.pl 120 c:\temp&quot; - deletes files from the 
  c:\temp directory that are older than 120 days.
EOF
exit;
}

# Credit:
# This script was based heavily on a script posted by &quot;FishMonger&quot;
# on the Computing.net forum:
# http://computing.net/programming/wwwboard/forum/13717.html
# on December 06, 2005 at 16:22:31 Pacific

# Modified 12 December 2005 by Alistair Christie (www.itauthor.com/notes).

<a name="EOF-"></a></pre>
<br />



<h1>run-deleter-script.bat</h1>
<hr />
<!-- contents of filename: run-deleter-script.bat -->
<pre>
@echo off
REM Open a console window (using /k flag so that it gets left open)

@echo on
cmd /k perl deleter.pl 1 "C:\Documents and Settings\ac\My Documents\XDA6 
My Documents\podcasts"
</pre>]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2005/12/12/scheduled-deletion-of-old-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syncing to Storage Card on PDA</title>
		<link>http://www.itauthor.com/2005/12/05/syncing-to-storage-card-on-pda/</link>
		<comments>http://www.itauthor.com/2005/12/05/syncing-to-storage-card-on-pda/#comments</comments>
		<pubDate>Mon, 05 Dec 2005 13:48:18 +0000</pubDate>
		<dc:creator>alistair at work</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=170</guid>
		<description><![CDATA[I use Juice to automatically download the podcasts I subscribe to into: C:\Documents and Settings\\My Documents\XDA My Documents\podcasts\ ActiveSync then picks these up and copies them to my PDA (an XDA running Pocket PC). The problem is that it copies them into memory on my PDA, rather than onto my storage card, where there's lots [...]]]></description>
			<content:encoded><![CDATA[I use Juice to automatically download the podcasts I subscribe to into:

C:\Documents and Settings\\My Documents\XDA My Documents\podcasts\

ActiveSync then picks these up and copies them to my PDA (an XDA running Pocket PC).

The problem is that it copies them into memory on my PDA, rather than onto my storage card, where there's lots more space.

Getting ActiveSync to copy to the Storage Card involves tweaking the Windows Registry on both the desktop and in Pocket PC on my PDA. I run the <a href="http://wiki.xda-developers.com/index.php?pagename=SpecialEditionROM">XDA-Developers Edition of Pocket PC</a> on my XDA. This allows you to edit Registry settings - just like you can on a desktop using regedit. As far as I remember (it's a long time since I installed the XDA-Developers OS) you can't do this on plain old ordinary Pocket PC.

WORDS OF WARNING
a) The XDA-Developers Edition has associated risks and, as far as I know, prevents you upgrading Pocket PC. For me this wasn't an issue as my XDA Mark 1 wasn't fit for upgrading.
b) Tweaking Registry settings should always be done with extreme care. Make sure you have backed up your systems (desktop + PDA) before changing anything.

PROCEDURE
1. On your PC, use regedit and go to:
HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services\Partners
2. This folder will contain a subfolder called something like 01492942 (or another hex number). In fact will probably contain several such folders. Find the one that contains a string value called NoSubFolderIn
3. Double click NoSubFolderIn and change:
\My Documents\
to:
\Storage Card\My Documents\
4. Expand the current Registry folder and go to Services\Synchronization
5. Double click DevicesSyncFolder and change:
\My Documents\
to:
\Storage Card\My Documents\
1. On your PDA, use Registry Editor (on XDA-Developers Edition), or similar, and go to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE Services
2. Edit NoSubFolderIn and change its value from:
\My Documents\
to:
\Storage Card\My Documents\
2. Edit FileSyncPath, making the same change.

That's it.
I make no guarantees.
But it worked for me.

Now my new podcasts go straight to my PDA whenever I connect to the PC. All I have to do is delete the old ones now and then to make space for new ones.]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2005/12/05/syncing-to-storage-card-on-pda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On-screen keyboard</title>
		<link>http://www.itauthor.com/2005/11/24/on-screen-keyboard/</link>
		<comments>http://www.itauthor.com/2005/11/24/on-screen-keyboard/#comments</comments>
		<pubDate>Thu, 24 Nov 2005 16:10:16 +0000</pubDate>
		<dc:creator>alistair at work</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=167</guid>
		<description><![CDATA[The project I'm currently working on involves a foreign-language version of our main application. My colleague George passed on a useful tip to help you see what characters your keyboard outputs. Go to Start &#62; Run and enter: osk The On-screen keyboard dialog box is displayed. This is particularly useful when you have your locale [...]]]></description>
			<content:encoded><![CDATA[The project I'm currently working on involves a foreign-language version of our main application. My colleague George passed on a useful tip to help you see what characters your keyboard outputs.

Go to Start &gt; Run and enter:
osk

The On-screen keyboard dialog box is displayed. This is particularly useful when you have your locale set to something unfamiliar because it allows you to easily see what character is produced by each key on the keyboard.

Having said that, it doesn't always work. In my standard UK locale it tells me that I can get a Euro symbol by pressing Ctrl+Alt+4. I don't, I get nothing.

But it's handy to know about.]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2005/11/24/on-screen-keyboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
