<?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>zdima.net &#187; command prompt</title>
	<atom:link href="http://zdima.net/blog/archives/tag/command-prompt/feed" rel="self" type="application/rss+xml" />
	<link>http://zdima.net/blog</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 11:42:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Open a New Command Prompt from Explorer with a Hotkey [Autohotkey]</title>
		<link>http://zdima.net/blog/archives/3146</link>
		<comments>http://zdima.net/blog/archives/3146#comments</comments>
		<pubDate>Thu, 02 Jul 2009 18:00:00 +0000</pubDate>
		<dc:creator>ZDima</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Contributors]]></category>
		<category><![CDATA[File Management]]></category>
		<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[Keyboard Shortcuts]]></category>
		<category><![CDATA[Shortcuts]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Autohotkey Tips]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[Explorer]]></category>
		<category><![CDATA[Windows Explorer]]></category>

		<guid isPermaLink="false">http://zdima.net/blog/?p=3146</guid>
		<description><![CDATA[<p><img src="http://cache.gawker.com/assets/images/lifehacker/2009/07/sshot-2009-07-02-_8_.jpg" width="429" height="199" style="display:block">Reader Kevin used his ubergeeky AutoHotkey scripting skills to create a hotkey that opens a <a title="Click here to read more posts tagged COMMAND PROMPT" href="http://lifehacker.com/tag/command-prompt/">command prompt</a> window at the same location as the folder you are browsing in <a title="Click here to read more posts tagged WINDOWS EXPLORER" href="http://lifehacker.com/tag/windows-explorer/">Windows Explorer</a>.</p> <p>To use the script, you simply hit the Ctrl+Alt+H shortcut key sequence while looking at a folder in Windows Explorer and a new command prompt window will open, already set to the same working directory. We've already covered <a href="http://lifehacker.com/394991/open-a-command-prompt-anywhere-with-vista">how to open a command prompt window from the context menu</a>, but this method is even simpler.</p> <p>To create this hotkey for yourself, create a new AutoHotkey script or add the following to your existing script:<br /></p> <blockquote><code>#IfWinActive ahk_class CabinetWClass ; for use in explorer.<br /> ^!h::<br /> ClipSaved := ClipboardAll<br /> Send !d<br /> Sleep 10<br /> Send ^c<br /> Run, cmd /K "cd `"%clipboard%`""<br /> Clipboard := ClipSaved<br /> ClipSaved =<br /> return<br /> #IfWinActive</code></blockquote> <p>Once you've added, saved, and launched the script, you should be able to start using the hotkey immediately. <em>Thanks, Kevin!</em></p> <p>For more Windows shortcut goodness, check out how to <a href="http://lifehacker.com/5300059/make-win%252Be-open-the-folder-of-your-choice">make Win+E open the folder of your choice</a>, learn how to <a href="http://lifehacker.com/5277383/use-caps-lock-for-hand+friendly-text-navigation">use Caps Lock for hand-friendly navigation</a>, and see how <a href="http://lifehacker.com/5280228/taskbar-overlord-tweaks-the-windows-7-taskbar">Taskbar Overlord tweaks the Windows 7 taskbar</a>. Brand new to AutoHotKey and its time-saving ways? Peek at our <a href="http://lifehacker.com/316589/turn-any-action-into-a-keyboard-shortcut">beginner's guide</a> to learn how to add this script, or write your own.</p> <br />
<br />
<a href="http://ads.pheedo.com/click.phdo?s=407b5634fa9bbe7a5187d93146d6b2a1&#38;p=1"><img alt="" style="border:0" border="0" src="http://ads.pheedo.com/img.phdo?s=407b5634fa9bbe7a5187d93146d6b2a1&#38;p=1"></a><div>
<a href="http://feeds.gawker.com/~ff/lifehacker/full?a=ciWKz4iwtgQ:nVX6VqQ7ltE:H0mrP-F8Qgo"><img src="http://feeds.feedburner.com/~ff/lifehacker/full?d=H0mrP-F8Qgo" border="0"></a> <a href="http://feeds.gawker.com/~ff/lifehacker/full?a=ciWKz4iwtgQ:nVX6VqQ7ltE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/lifehacker/full?d=yIl2AUoC8zA" border="0"></a> <a href="http://feeds.gawker.com/~ff/lifehacker/full?a=ciWKz4iwtgQ:nVX6VqQ7ltE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/lifehacker/full?i=ciWKz4iwtgQ:nVX6VqQ7ltE:D7DqB2pKExk" border="0"></a> <a href="http://feeds.gawker.com/~ff/lifehacker/full?a=ciWKz4iwtgQ:nVX6VqQ7ltE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/lifehacker/full?i=ciWKz4iwtgQ:nVX6VqQ7ltE:V_sGLiPBpWU" border="0"></a>
</div><img src="http://feeds.feedburner.com/~r/lifehacker/full/~4/ciWKz4iwtgQ" height="1" width="1"><p class="read-more"><a href="http://zdima.net/blog/archives/3146">> Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://cache.gawker.com/assets/images/lifehacker/2009/07/sshot-2009-07-02-_8_.jpg" width="429" height="199" >Reader Kevin used his ubergeeky AutoHotkey scripting skills to create a hotkey that opens a <a title="Click here to read more posts tagged COMMAND PROMPT" href="http://lifehacker.com/tag/command-prompt/">command prompt</a> window at the same location as the folder you are browsing in <a title="Click here to read more posts tagged WINDOWS EXPLORER" href="http://lifehacker.com/tag/windows-explorer/">Windows Explorer</a>.</p>
<p>To use the script, you simply hit the Ctrl+Alt+H shortcut key sequence while looking at a folder in Windows Explorer and a new command prompt window will open, already set to the same working directory. We&#8217;ve already covered <a href="http://lifehacker.com/394991/open-a-command-prompt-anywhere-with-vista">how to open a command prompt window from the context menu</a>, but this method is even simpler.</p>
<p>To create this hotkey for yourself, create a new AutoHotkey script or add the following to your existing script:</p>
<blockquote><p><code>#IfWinActive ahk_class CabinetWClass ; for use in explorer.<br /> ^!h::<br /> ClipSaved := ClipboardAll<br /> Send !d<br /> Sleep 10<br /> Send ^c<br /> Run, cmd /K "cd `"%clipboard%`""<br /> Clipboard := ClipSaved<br /> ClipSaved =<br /> return<br /> #IfWinActive</code></p></blockquote>
<p>Once you&#8217;ve added, saved, and launched the script, you should be able to start using the hotkey immediately. <em>Thanks, Kevin!</em></p>
<p>For more Windows shortcut goodness, check out how to <a href="http://lifehacker.com/5300059/make-win%252Be-open-the-folder-of-your-choice">make Win+E open the folder of your choice</a>, learn how to <a href="http://lifehacker.com/5277383/use-caps-lock-for-hand+friendly-text-navigation">use Caps Lock for hand-friendly navigation</a>, and see how <a href="http://lifehacker.com/5280228/taskbar-overlord-tweaks-the-windows-7-taskbar">Taskbar Overlord tweaks the Windows 7 taskbar</a>. Brand new to AutoHotKey and its time-saving ways? Peek at our <a href="http://lifehacker.com/316589/turn-any-action-into-a-keyboard-shortcut">beginner&#8217;s guide</a> to learn how to add this script, or write your own.</p>
<p> <br ><br />
<br ><br />
<a href="http://ads.pheedo.com/click.phdo?s=407b5634fa9bbe7a5187d93146d6b2a1&amp;p=1"><img alt=""  border="0" src="http://ads.pheedo.com/img.phdo?s=407b5634fa9bbe7a5187d93146d6b2a1&amp;p=1"></a>
<div>
<a href="http://feeds.gawker.com/~ff/lifehacker/full?a=ciWKz4iwtgQ:nVX6VqQ7ltE:H0mrP-F8Qgo"><img src="http://feeds.feedburner.com/~ff/lifehacker/full?d=H0mrP-F8Qgo" border="0"></a> <a href="http://feeds.gawker.com/~ff/lifehacker/full?a=ciWKz4iwtgQ:nVX6VqQ7ltE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/lifehacker/full?d=yIl2AUoC8zA" border="0"></a> <a href="http://feeds.gawker.com/~ff/lifehacker/full?a=ciWKz4iwtgQ:nVX6VqQ7ltE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/lifehacker/full?i=ciWKz4iwtgQ:nVX6VqQ7ltE:D7DqB2pKExk" border="0"></a> <a href="http://feeds.gawker.com/~ff/lifehacker/full?a=ciWKz4iwtgQ:nVX6VqQ7ltE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/lifehacker/full?i=ciWKz4iwtgQ:nVX6VqQ7ltE:V_sGLiPBpWU" border="0"></a>
</div>
<p><img src="http://feeds.feedburner.com/~r/lifehacker/full/~4/ciWKz4iwtgQ" height="1" width="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://zdima.net/blog/archives/3146/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

