<?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/"
	>

<channel>
	<title>Analytical Engine &#187; Downloads and Tools</title>
	<atom:link href="http://www.analyticalengine.net/archives/category/downloads-and-tools/feed" rel="self" type="application/rss+xml" />
	<link>http://www.analyticalengine.net</link>
	<description>Application Security, General Technology, and Geek Ramblings</description>
	<lastBuildDate>Wed, 21 Jul 2010 15:21:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A Quick Little Utility</title>
		<link>http://www.analyticalengine.net/archives/13</link>
		<comments>http://www.analyticalengine.net/archives/13#comments</comments>
		<pubDate>Fri, 29 Feb 2008 02:20:52 +0000</pubDate>
		<dc:creator>Joshbw</dc:creator>
				<category><![CDATA[Downloads and Tools]]></category>

		<guid isPermaLink="false">http://www.analyticalengine.net/archives/13</guid>
		<description><![CDATA[Real updates are coming soon, I promise.&#160; It has been a busy week but I have a couple draft posts floating around.&#160; In the mean time here is a quick little batch file I threw together years ago (so please excuse the horrible syntax) that might come in handy: up.cmd Essentially it is a quick [...]]]></description>
			<content:encoded><![CDATA[<p>Real updates are coming soon, I promise.&#160; It has been a busy week but I have a couple draft posts floating around.&#160; In the mean time here is a quick little batch file I threw together years ago (so please excuse the horrible syntax) that might come in handy: <a href="http://www.analyticalengine.net/downloads/batch/up.cmd">up.cmd</a></p>
<p>Essentially it is a quick way of traversing up a directory structure on the command line in Windows, so you don&#8217;t have to keep typing &quot;cd ..\..\..\..\&quot;.&#160; Just drop it in your path somewhere (after verifying that this isn&#8217;t my clever attempt to get you to install a trojan) and you are good to go.</p>
<p>It has two modes of use.&#160; The first mode you provide one parameter- the number of directories to go up.&#160; For example: &quot;up 3&quot; to go up 3 directories.</p>
<blockquote><p>C:\Windows\System32\drivers\etc&gt;    <br />C:\Windows\System32\drivers\etc&gt;up 3     <br />C:\Windows&gt; </p></blockquote>
<p>In the second mode you provide no parameters, instead you just type &quot;up&quot;.&#160;&#160; It will then provide you with the curious UI option &quot;[S,U]?&quot; which is prompting to <strong>S</strong>top or go <strong>U</strong>p.&#160; If you press &quot;u&quot; it will go up one directory and prompt again.&#160; When you want to stop you hit &quot;s&quot; .&#160; This mode is really useful when you are really deep within a source archive and want to back your way up to some parent directory, but don&#8217;t want to count how many directories you want to go up.</p>
<blockquote><p>C:\Windows\System32\drivers\etc&gt;up    <br />C:\Windows\System32\drivers\etc [S,U]?U     <br />C:\Windows\System32\drivers [S,U]?U     <br />C:\Windows\System32 [S,U]?U     <br />C:\Windows [S,U]?S     </p>
<p>C:\Windows&gt; </p></blockquote>
<p>Hey, lay off me. I wrote this almost a decade ago for myself and usability for the masses wasn&#8217;t really my intent (nor robust maintainable code.&#160; I&#8217;m not really sure what the heck I was trying to do when I look in the batch file; that&#8217;s why comments are a good thing kids).&#160; I just figured I would share this with all of you as you might find it useful.&#160; Also, I keep forgetting to put it on my work machine and they prevent me from reaching my skydrive account while at work, where I have a backup, so now I have a convenient place to download it.</p>
<p>I&#8217;ll also post a couple entries of more substance in the near future (probably this weekend) and possibly a couple of PowerShell scripts I am working on, once I finish them and make them presentable (since I don&#8217;t have the excuse of being young and lazy like I do with up.cmd).&#160; I&#8217;ve decided PowerShell is amazingly cool, but also takes quite a bit to get used to, being very different than any command line shell I have used.&#160; Anyway, I have a slightly buggy netcat clone that I am writing in shell script as well as a couple other little utilities that I will put out where other people can tinker.</p>
<p>~Joshbw</p>
]]></content:encoded>
			<wfw:commentRss>http://www.analyticalengine.net/archives/13/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
