New
#1
Add simple entry to explorer context menu(CreateProcess static verb).
What I want to do is very simple.
I wish to add an entry to the context menu displayed in Windows Explorer, invoking a command line program with the file (or folder) path as an argument.
If I right-click on ANY file or folder, I want the context menu to contain an, entry, call it "Foo", that, if clicked, will execute (say) "c:\bin\foo.exe %1", in which %1 is the path of the selected folder or file.
It seems to me that Microsoft documenters sometimes make extraordinary efforts to obfuscate simple procedures.
I suspect that I wish to use a "CreateProcess" static verb.
Such functionality should not require implementing a COM interface.
It seems to me that it should require nothing more than a registry update.
Let me be clear about something:
I don't want the application to be available/invoked for specific file types. I want the relevant context menu option available for any folder or file that is right-clicked.
Think of the "copy" and "delete" entries on the context menu, which apply to all file and folder types (and which have nothing to do with "open", "print", etc).
I don't know whether this entails selecting a file type of "*" (incidentally, I want files/folders with ANY extension, as well as files/folders with NO extension), or if this is handled independently of the "file type" handling mechanism.
One would think that googling '"windows context menu" CreateProcess' would find simple instructions for performing this presumably simple (and, I would think common) task.
Thanks in advance for any help.