Image Host

  
Go Back   Discuss Everything Forum > In The News > RSS News > Electronic and Computer News
 
Tags: , , , , ,

Reply
 
LinkBack Thread Tools Display Modes

Open a New Command Prompt from Explorer with a Hotkey [Autohotkey]
Old 07-02-2009, 11:53 PM   #1 (permalink)
Administrator
 
EmptyNest's Avatar
 
EmptyNest is offline
Join Date: Mar 2008
Posts: 1,760
Casino Cash: $877
Country: Canada
Gender: Male
: ()
Downloads: 0
Uploads: 0
Blog Entries: 4
Smile Open a New Command Prompt from Explorer with a Hotkey [Autohotkey]

Reader Kevin used his ubergeeky AutoHotkey scripting skills to create a hotkey that opens a command prompt window at the same location as the folder you are browsing in Windows Explorer.
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 how to open a command prompt window from the context menu, but this method is even simpler.
To create this hotkey for yourself, create a new AutoHotkey script or add the following to your existing script:
#IfWinActive ahk_class CabinetWClass ; for use in explorer.
^!h::
ClipSaved := ClipboardAll
Send !d
Sleep 10
Send ^c
Run, cmd /K "cd `"%clipboard%`""
Clipboard := ClipSaved
ClipSaved =
return
#IfWinActive
Once you've added, saved, and launched the script, you should be able to start using the hotkey immediately. Thanks, Kevin!
For more Windows shortcut goodness, check out how to make Win+E open the folder of your choice, learn how to use Caps Lock for hand-friendly navigation, and see how Taskbar Overlord tweaks the Windows 7 taskbar. Brand new to AutoHotKey and its time-saving ways? Peek at our beginner's guide to learn how to add this script, or write your own.


</img> </img> </img> </img>
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 04:20 PM.



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
-Picture Sharing-Lyrics Market