Search This Blog

Friday 17 June 2011

Adding Console to Windows 7 Context Menu

Windows 7 has the menu item 'open command here' when you shift, right click a folder.  As a Console user  I wanted to open this rather than the generic windows cmd.


In trying to actually find out about something else I stumbled across :


Computer\HKEY_CLASSES_ROOT\Directory\shell\cmd\command


Change (Default) to :


"\Console.exe" /s /k pushd "%V"
eg
"C:\Program Files\Console2\Console.exe" /s /k pushd "%V"


You can also put a pretty little icon on the menu :


Create string value :


Computer\HKEY_CLASSES_ROOT\Directory\shell\cmd\Icon and make data the path of the exe, dll with the icon.

No comments:

Post a Comment