Open console2 here

I recently discovered the excellent “console” wrapper for cmd.exe (or the shell of your choice) in Windows.

I had a lot of trouble figuring out how to setup a right-click command to “Open console here” similar to the “Open Command Prompt Here” offered by Microsoft’s “TweakUI” in WinXP (and similar).

I figured it out, tho.  Here’s the trick:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\Open console here\command]
@="u:\\users\\dave\\data\\bin\\Console2\\Console.exe cmd -r \"/k pushd %L\""

That’s it – easy enough. Replace the path to wherever you installed console.exe, of course.

It even works on network volumes (it automatically creates a drive letter mount, the same as does Microsoft’s own Open Command Prompt Here).

I’ve only tested it on Win7, but in principle it ought to work on any recent version of Windows.

2 thoughts on “Open console2 here

  1. On Windows 7, you can Shift+Right-Click on a folder, and the menu that comes up has some extra options, including “Open Command Window Here” and “Copy as Path”. I believe this feature is enabled by default.

Leave a Reply

Your email address will not be published. Required fields are marked *