OT: any way to find context menu "execution code"?

Hi,

I'm in the process of assigning simple buttons for regularly used right-click context options.

For example, I find myself constantly right-clicking .RAR files, and select "Extract Here".
Searching through DO's FileTypes, I found no trace of that "Extract Here" option....

I've tried NirSoft's ShellExView, and ShellMenuView, there are some Winrar related items there, but nothing more than some links to rarext.dll, but no sign of that string "Extract Here", so now I'm still in the search to get to know the "code" that gets really executed when I rightclick a .RAR file to be able to create a working "Extract Here" button in DO.

I would also like to create buttons for other programs like Avira AntiVir & MalwareBytes Anti-malware which also do have rightclick options "Scan with X..." when rightclick a file, but I can nowhere find the proper "code" that gets executed when doing that. So no simple option to create a button from a rightclick menu option.

Anyone able to help please, or how I can find the code to feed to a button to do exactly what these rightclick options achieve ?

Thanks, and sorry for going somewhat OT.

Best wishes and a healthy 2011 to DO crew, admins, and users. :opussanta:

The 'Extract Here' command most likely is a dynamic context menu command added by WinRAR, so it won't be found in the registry - WinRAR adds it at runtime when Opus (or Explorer) asks it to populate its part of the context menu.

You can use the Opus command ContextMenu SHOWCMDS to get a list of available context menu commands for a particular (type of) file, and then use ContextMenu VERB="xyz" to create a button which runs one of those commands.

Or, given that Opus supports extraction from RAR files, you can use the Opus command Copy EXTRACT=here to achieve the same effect.

Great!

Thank you very much jon. :slight_smile: