Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just finished setting up my Dev environment on a Windows 7 PC. For command line and Terminal use, I installed the program called Console2 which is amazing for anyone who uses the Terminal on a Windows machine.

One of the important things I needed was the ability to access folders in the terminal quickly without always doing cd /directroy/name/etc/etc so my goal was a Right Click Context Menu inside of a folder in Explorer.

I was able to get this done with the following Registry Key modifications/additions

@=Open Console2 Here
Icon=C:\Program Files\Console2\Console.ico

@=C:\Program Files\Console2\Console.exe -d "%v"

@=Open Console2 Here
Icon=C:\Program Files\Console2\Console.ico

@=C:\Program Files\Console2\Console.exe -d "%v"

It works great, I can now see a context menu to open a terminal window at a folder's path in 2 way.

  1. By right clikcing on a folder name, it will show the "Open Console2 Here"
  2. By opening a folder and right clikcing in the background, I can see the same context menu to open terminal as well.

Now my problem is I often access folders and work areas using Windows Libraries, this make my context menu not work when I am accessing a folder through the Library instead of going directly to the folder.

For example if I open Explorer and go to...

E:\Server\htdocs\labs\javascript\SampleJSProject then I can view and use my custom context menu.

However if I access that same folder using my shortcut/libraries, the path then looks like this...

Libaries\Server Labs\javascript\SampleJSProject and now my context menu to open terminal does not show up. If I click in the Address area it then shows the correct full path as listed above though.

I am hoping it is an easy solution, like adding another registry key somewhere but I am not sure where?

Does anyone have any ideas or solutions?

share|improve this question
You could right click > Open folder location before opening console. Kind of a temp solution, but it works. – Sam Jan 21 '13 at 8:34

The trick here is that Library Folders have their own key.

Oddly enough its "LibraryFolders" so you would need to modify THAT key to get the effect you want.

For example, to add the "Open command window here" context entry to a Library Folder, use the following reg:

Windows Registry Editor Version 5.00




@="cmd.exe /s /k pushd \"%V\""



share|improve this answer
I have been looking for this functionality for a long time, thanks for sharing! – JasonDavis Apr 16 '13 at 13:26
Amazing... all along the reason it wasn't working was due to explorer treating library folders differently. Thanks for this! – Taliesin Jul 24 '14 at 7:01
@jasondavis please mark the answer as correct if it worked for you. – sweetlilmre Apr 19 '15 at 17:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .