<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>John's Blog - Windows Tips</title>
    <link>http://johnjthomas.net/</link>
    <description>A Technical Journal, and other writings</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Mon, 26 Oct 2009 17:29:44 GMT</pubDate>

    <image>
        <url>http://johnjthomas.net/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: John's Blog - Windows Tips - A Technical Journal, and other writings</title>
        <link>http://johnjthomas.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Adding tail to Windows context menu.</title>
    <link>http://johnjthomas.net/index.php?/archives/3-Adding-tail-to-Windows-context-menu..html</link>
            <category>Windows Tips</category>
    
    <comments>http://johnjthomas.net/index.php?/archives/3-Adding-tail-to-Windows-context-menu..html#comments</comments>
    <wfw:comment>http://johnjthomas.net/wfwcomment.php?cid=3</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://johnjthomas.net/rss.php?version=2.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    

    <author>nospam@example.com (John J Thomas)</author>
    <content:encoded>
      Many developers in the UNIX world have known for years, about a little utility called tail. Essentially tail would allow you too watch live log files by displaying the last 10 lines or so of any log file, actively updating the display as the log file was written to. Typically while at a bash or cshell prompt developers would type in, for instance if troubleshooting a web app, tail -f /usr/usr001/logs/httpd.log.&lt;br /&gt;
 &lt;br /&gt;
  Eventually tail was ported over to run under the Windows environment. This was awesome, but still required one to be at a dos prompt and to have to specify the full path to the log file you wish to tail. And as you would imagine, in an increasingly visual world, this was becoming more and more difficult. Well, no more. With this quick registry edit, you can instantly add Tail to Windows context-menu for text files (this includes any plain text format such as txt, diz, log, .properties, whatever).&lt;br /&gt;
 &lt;br /&gt;
  First, I&#039;ve created a folder on my c:\drive called C:\BIN. I keep many DOS based and ported Unix-based utilities like grep in this folder. So for me tail.exe exists at c:\bin\tail.exe on my local hard-drive, with that in mind I simply created a new text file, using notepad, containing the following text:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
Windows Registry Editor Version 5.00&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\txtfile\shell\Tail]&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\txtfile\shell\Tail\Command]&lt;br /&gt;
@ = &quot;\&quot;C:\\bin\\tail.exe\&quot; -f \&quot;%1\&quot;&quot;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
I then saved it as a TAIL.REG. &lt;br /&gt;
&lt;br /&gt;
Once I saved it I browsed to it and double-clicked on it. Windows will warn you of the evil dangers of merging a REG file into your system registry, once you agree, thats it. Tail will now show up as an option whenever you right-click on a file that adhears to plain text formatting.  I use it daily now.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;You can download tail from&lt;/h3&gt;&lt;br /&gt;
&lt;br /&gt;
Sourceforge&lt;br /&gt;
&lt;a href=&quot;http://tailforwin32.sourceforge.net/&quot; title=&quot;http://tailforwin32.sourceforge.net/&quot;&gt;http://tailforwin32.sourceforge.net/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Microsoft includes their own in the Windows Server 2003 RKT&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en&quot; title=&quot;http://www.microsoft.com/downloads&quot;&gt;http://www.microsoft.com/downloads/&lt;/a&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sun, 25 Oct 2009 08:59:31 -0700</pubDate>
    <guid isPermaLink="false">http://johnjthomas.net/index.php?/archives/3-guid.html</guid>
    
</item>

</channel>
</rss>