Here are the 3 places where BRU appears on the context menu w/ their associated registry keys:
When right-clicking on a
folder:
- Code: Select all
HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\BRUMenuHandler
When right-clicking on a
drive:
- Code: Select all
HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\BRUMenuHandler
When right-clicking on a
file:
- Code: Select all
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\BRUMenuHandler
I'm hoping you'll add the following (possibly in place of the last):
When right-clicking in a
folder background (the empty white space in a folder):
- Code: Select all
HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers
I tried to get this working with the
{5D924130-4CB1-11DB-B0DE-0800200C9A66} value that the other keys use, but it's not working here - possibly because it's using (or, I assume it's using) the
%1 variable. This variable is empty when called from a folder background. If you use
%V instead, it passes the file/folder path, same as %1 – unless %1 is empty, in which case it passes the working directory. See:
http://superuser.com/a/473602/31408Here's a working example (for a .reg file):
- Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Bulk Rename Here]
"Icon"="\"C:\\Program Files\\Bulk Rename Utility\\Bulk Rename Utility.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\Bulk Rename Here\Command]
@="\"C:\\Program Files\\Bulk Rename Utility\\Bulk Rename Utility.exe\" \"%V\""
This same command would work at any of the other keys as well.