Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add to Explorer's "all files" context menu

Status
Not open for further replies.

Shrum

Programmer
May 17, 2002
122
US
? regarding the HKCR registry tree:

I'm trying to create an entry into the Windows Explorer contect menu so when *any* file is right-clicked on, my menu item appears.

Under HKCR, there is a key for "folders" and one for "drives" but what is the key for addding context menus for all files? There is no "files" key and "*" doesn't have the "Shell" subkey.

What key do I need to write to to achieve this?

TIA

=============================
Sean Shrum
Shrum Consulting
C.A.T.S.: Consulting: Programming: R/C Soaring:
 
Not all is in the registry:
The items on a context menu come from one of two places: shell commands stored within the system Registry, or context menu handlers. The type of technology used to add the command is generally transparent to the end user, butdoes make a difference. Windows Explorer lets you add or remove Registry-based shell commands, but provides no control at all over context menu handlers. ContextEdit lets you control both types of context menu items and adds other features as well.

Utility, ContextEdit, freeware:
Additional details and Utilities:
 
Eeek...:)

Those links refer to using the built-in functions of the OS to create to entries.

I'm scripting (and later compiling) my tool with a open-source scripting language called AutoITScript (I love this program). I haven't programmed in anything else in over 3 years (I can do everything with this w/o having to fork out $,$$$ for MS dev kits).

I was kinda hoping that there was a simple key that I could edit (still hoping for). I got the context menus working for data-type:drives and data-type:folders, just not for data-type:all files (if it even exists). I figure I can edit the keys of all the file assoiciations that I want to support but I'd rather just do all of them in one shot.

I'll parouse the MS docs a bit but so far, their a bit on the technical side and I haven't found the mystical key name I'm looking for yet.

=============================
Sean Shrum - Shrum Consulting
Blog: Code: Consulting: Updates:
 
For now, I've registered under individual file types and that works.

I'll research the handlers some more, there has to be a way to address this (WinZip and other apps do it so I know there is a way).

Thanks for the info and links.

=============================
Sean Shrum - Shrum Consulting
Blog: Code: Consulting: Updates:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top