<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" 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/"><channel><title>Hirlpoo West : Tips 'n' Tricks</title><link>http://blogs.msdn.com/ddysart/archive/tags/Tips+_2700_n_2700_+Tricks/default.aspx</link><description>Tags: Tips 'n' Tricks</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Playing with Writer</title><link>http://blogs.msdn.com/ddysart/archive/2006/08/14/699998.aspx</link><pubDate>Mon, 14 Aug 2006 22:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:699998</guid><dc:creator>ddysart</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/ddysart/comments/699998.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ddysart/commentrss.aspx?PostID=699998</wfw:commentRss><wfw:comment>http://blogs.msdn.com/ddysart/rsscomments.aspx?PostID=699998</wfw:comment><description>&lt;p&gt;Though hardly breaking news at this point, I'll point folks to the new &lt;a href="http://windowslivewriter.spaces.live.com/"&gt;Windows Live Writer&lt;/a&gt;&amp;nbsp;blog posting tool.&amp;nbsp; I've been playing with it for a couple weeks no (we were under quarantine about talking about it) and like it pretty much so far (though I still have a tendency to use the web interface Community Server gives you).&amp;nbsp; The public seems to like it too.&amp;nbsp; I'll be curious to see what folks do with the plugin API.&amp;nbsp; &lt;a href="http://timheuer.com/blog/archive/2006/08/13/13265.aspx"&gt;Tim Heuer&lt;/a&gt; has already put together a &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=flickr4writer"&gt;Flickr plugin&lt;/a&gt; that eases inserting Flickr images.&amp;nbsp; The photo below is a photo of my son that I've got up on Flickr:&lt;/p&gt; &lt;p align="center"&gt;&lt;a title="Andrew" href="http://www.flickr.com/photos/64898561@N00/207160691/"&gt;&lt;img alt="Andrew" hspace="0" src="http://static.flickr.com/64/207160691_8f2d5afdf4.jpg" border="0" alignment="middle"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Inserting that took a couple clicks, though on Flickr itself, getting the HTML to insert a photo elsewhere isn't too difficult.&lt;/p&gt; &lt;p&gt;BTW - the above shot is one of my first "keeper" photos I've taken using the awesome techniques outlined by David Hobby on the &lt;a href="http://strobist.blogspot.com"&gt;Strobist&lt;/a&gt; blog.&amp;nbsp; David is a photojournalist for the Baltimore Sun and has been sharing load of techniques for doing off camera lighting (all for real cheap, assuming you already have a DSLR).&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=699998" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ddysart/archive/tags/Tips+_2700_n_2700_+Tricks/default.aspx">Tips 'n' Tricks</category><category domain="http://blogs.msdn.com/ddysart/archive/tags/Life+outside+of+Microsoft/default.aspx">Life outside of Microsoft</category><category domain="http://blogs.msdn.com/ddysart/archive/tags/Photography/default.aspx">Photography</category></item><item><title>Windows Command Line Auto Completion</title><link>http://blogs.msdn.com/ddysart/archive/2006/08/03/687902.aspx</link><pubDate>Thu, 03 Aug 2006 22:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:687902</guid><dc:creator>ddysart</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/ddysart/comments/687902.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ddysart/commentrss.aspx?PostID=687902</wfw:commentRss><wfw:comment>http://blogs.msdn.com/ddysart/rsscomments.aspx?PostID=687902</wfw:comment><description>&lt;P&gt;Having explained this to a number of people in as many days, I thought I'd share this tip for working with long paths on the command line.&amp;nbsp; The easist way to expalin this is to jump in feet first:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open a command line (&lt;EM&gt;&amp;lt;Windows Key&amp;gt;&lt;/EM&gt;-R, CMD&lt;EM&gt;&amp;lt;Enter&amp;gt;&lt;/EM&gt; is engrained in my hands at this point in my career) 
&lt;LI&gt;At the prompt, repeatedly hit tab&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;You will be cycling through all of the files and directories in your current directory.&amp;nbsp; Now try this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;At a clean command prompt, type "dir \P" then start hitting tab.&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Now you'll be cycling through all the directories that start with "P" in the root of the current drive (in my case, it cycles through "Program Files" then Projects).&amp;nbsp; You'll also notice that for files with embedded spaces, quotes are automatically added.&amp;nbsp; This works for as many characters as you wish to type. After you cycle to the directory you want, type a backslash, then hit tab again and you'll cycle through the files and sub-directories in that directory, and so on.&amp;nbsp; On my current machine, I can type the following to open my machine.config:&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size=2&gt;notepad \win&lt;EM&gt;&amp;lt;tab&amp;gt;&lt;/EM&gt;\mic&lt;EM&gt;&amp;lt;tab&amp;gt;&lt;/EM&gt;\&lt;EM&gt;&amp;lt;tab&amp;gt;&lt;/EM&gt;\v1.1&lt;EM&gt;&amp;lt;tab&amp;gt;&lt;/EM&gt;\con&lt;EM&gt;&amp;lt;tab&amp;gt;&lt;/EM&gt;\m&lt;EM&gt;&amp;lt;tab&amp;gt;&amp;lt;enter&amp;gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This results in the following command line, which would take considerably more keystrokes&amp;nbsp; or mouse clicks:&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;notepad \WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This works at just about any point in a command, as long as you are starting from a space.&amp;nbsp; It will also work on UNC paths staring at the share name (Assuming you can authenticate to that particular share):&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;dir \\fileserver\share\&lt;EM&gt;&amp;lt;tab&amp;gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There may be a delay as CMD goes an enumerates the items on the share, but if you are trying to get to something deep down in some huge directory structure with really long path names, this helps a ton.&lt;/P&gt;
&lt;P&gt;Though this has been in CMD for some time, I don't think it was enabled by default untill Windows XP which may explain why it isn't well known.&amp;nbsp;If you're stuck on a Windows 2000 box (or, gasp! NT4), you can edit the registry to enable this (Standard registry disclaimer applies - don't do this unless you know what you're doing since you can render a box un-bootable with sufficient registry tweaking.):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set HKCU\Software\Microsoft\Command Processor\CompetionChar to 9&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/244407"&gt;KB244407&lt;/A&gt;&amp;nbsp;covers this in detail.&lt;/P&gt;
&lt;P&gt;I used to hate the command line becuase I'm lazy and didn't want to type out huge paths (which I would end up misspelling).&amp;nbsp; No longer!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=687902" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ddysart/archive/tags/Tips+_2700_n_2700_+Tricks/default.aspx">Tips 'n' Tricks</category></item><item><title>Cool Notepad Trick</title><link>http://blogs.msdn.com/ddysart/archive/2006/07/06/658295.aspx</link><pubDate>Fri, 07 Jul 2006 00:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:658295</guid><dc:creator>ddysart</dc:creator><slash:comments>19</slash:comments><comments>http://blogs.msdn.com/ddysart/comments/658295.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ddysart/commentrss.aspx?PostID=658295</wfw:commentRss><wfw:comment>http://blogs.msdn.com/ddysart/rsscomments.aspx?PostID=658295</wfw:comment><description>&lt;p&gt;This neat trick came across on an internal alias.&amp;nbsp; I hadn't seen this before, but I'm guessing it isn't new. Pretty handy for notetaking (if you're a plain text sort of guy/gal).&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open a blank Notepad file 
&lt;/li&gt;&lt;li&gt;Write .LOG (in uppercase) in the first line of the file, followed by Enter. Save the file and close it. 
&lt;/li&gt;&lt;li&gt;Double-click the file to open it and notice that Notepad appends the current date and time to the end of the file and places the cursor on the line after. 
&lt;/li&gt;&lt;li&gt;Type your notes and then save and close the file. 
&lt;/li&gt;&lt;li&gt;Each time you open the file, Notepad repeats the process, appending the time and date to the end of the file and placing the cursor below it.&lt;/li&gt;&lt;/ol&gt;
&lt;br&gt;&lt;p&gt;[&lt;em&gt;Update:&amp;nbsp; Evidentally this is explained in &lt;/em&gt;&lt;a href="http://support.microsoft.com/?kbid=260563"&gt;&lt;em&gt;KB260563&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;nbsp;which makes it look like this feature has been around since Windows 98.&amp;nbsp; Still pretty cool in my book.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;I was in a presentation today with &lt;a href="http://www.jeffsandquist.com/CommentView,guid,5662aca6-83f1-461a-98cb-af2bfcecce1f.aspx"&gt;Jeff Sanquist&lt;/a&gt; and as he was scrolling through his blog on screen saw he picked up on this too.&lt;/i&gt;]&lt;br&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=658295" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ddysart/archive/tags/Tips+_2700_n_2700_+Tricks/default.aspx">Tips 'n' Tricks</category></item></channel></rss>