<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - kv 4 u - A key value pair command line utility</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/blog/kv-4-u-A-key-value-pair-command-line-utility/RSS"></atom:link>
	<image>
		<url>http://files.channel9.msdn.com/thumbnail/58731aa6-21c7-458b-ba93-f886326119c2.png</url>
		<title>Channel 9 - kv 4 u - A key value pair command line utility</title>
		<link></link>
	</image>
	<description>Today&#39;s project is deceptively simple one, yet one that fires up the way back machine for me. Once upon a time, about 1.97 million years ago, I manned a tech support desk, answering tech calls from customers about the products they had purchased from our company. This was in the 90&#39;s and Windows 3.0/3.1 was the hot thing, yet we still mostly lived in a DOS prompt. And being a call jockey time on call was a key metric. So we&#39;d do everything we could to streamline our information retrieval, leveraging command line utilities, TSR&#39;s, writing batch files to help speed access to info, etc. Anyway, today&#39;s project would have come in real handy then, and looks like, given the resurgence of the command line, handy today too. BTW, shout-out to the secretGeek and his/her blog post, kv can remember it for you, wholesale, that brought it to my attention. kv&amp;gt;Kv -?kv -- a command-line key-value store integrated with the clipboard.inspired by: https://github.com/stevenleeg/boo usage:kv name fred smithsaves the the value, &#39;fred smith&#39; under the key, &#39;name&#39; kv nameretrieve the value &#39;fred smith&#39; straight to your clipboard. kvlists all keys kv h* lists all keys that match the pattern &#39;h*&#39; kv -r namewill remove the key ‘name’ (and its value) from your store You can also pipe a value in, e.g.echo Hello Fred | kv Greetingwill store &#39;Hello Fred&#39; under the key &#39;Greeting&#39; type File.xml | kv myFilewill store the content of &#39;File.xml&#39; under the key &#39;myFile&#39; Keys are case-insensitive. Where does it store the data?Each key and value is stored in a separate file, in the folder %localappdata%\kv\kv.snippet\ Each file in that folder is named after its key (encoded so that special characters are supported) And as you would expect, given I&#39;m writing about it here, the source, C#, for this utility is available too.  Grabbing the latest check-in, it compiled and ran with no problems;  As you can see, it&#39;s looks simple, but so many things do in hindsight. There&#39;s a number of cool tips and tricks in this utility, from handling data piped into it, to the stashing of the data (via http://stashy.codeplex.com) and more. This utility stands on the shoulders of others (as do most of our app&#39;s), giving credit where credit is due, yet combing them into something new. &amp;nbsp; Post Thumbnail Image Credit goes to josephleenovak&amp;nbsp;- Keys, USS Bowfin </description>
	<link></link>
	<language>en</language>
	<pubDate>Sat, 25 May 2013 21:49:22 GMT</pubDate>
	<lastBuildDate>Sat, 25 May 2013 21:49:22 GMT</lastBuildDate>
	<generator>Rev9</generator>
</channel>
</rss>