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
[HKEY_CLASSES_ROOT\Directory\shell\open_console] @=Open Console2 Here Icon=C:\Program Files\Console2\Console.ico [HKEY_CLASSES_ROOT\Directory\shell\open_console\Command] @=C:\Program Files\Console2\Console.exe -d "%v" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\open_console] @=Open Console2 Here Icon=C:\Program Files\Console2\Console.ico [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\open_console\Command] @=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.
- By right clikcing on a folder name, it will show the "Open Console2 Here"
- 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...
However if I access that same folder using my shortcut/libraries, the path then looks like this...
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?