windows


26
Mar 12

fun with baretail

I’m having to read and monitor log files a lot more than I used to, and really needed a utility like tail (but on windows).  After hunting around for a while I settled on BareTail because it seemed dead simple to use.  The only problem I had was the lack of explorer level integration, I really wanted to be able to right-click and immediately start watching the log file.

I poked around a bit and it turns out that it’s actually not that hard, with a bit of registry-fu, to add context menu commands to Windows Explorer:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\BareTail...]

[HKEY_CLASSES_ROOT\*\shell\BareTail...\command]
@="C:\\Tools\\baretail\\baretail.exe \"%L\""

Save that as a ‘.reg’ file (change the path to where you have baretail installed), import, and BAM, context menu goodness.