Good day.

The question is: how can I open, say, the properties of a file in explorer from my application (windows forms, c #)? Or let's say copy, cut, paste it?

I know that you can open with System.Diagnostics.Process.Start (), but with the rest of the trouble.

Ps I implement my global (for explorer as a whole, and not for my application) context menus in the seven. and accordingly, in general, the problem is different: in defining the context and getting points from the default menu. If there is advice on the implementation of this case, the answer to the first question is not relevant. If not, then I, as a prototype, implement this menu for specific files and folders from the desktop, for which I actually need to make the "open", "cut", "copy", "paste" and "properties" buttons.

Thank you in advance.

  • Why invent your menu if the Windows menu is completed and it is done using the registry? - pincher1519
  • Because I need not to add items to the menu, but to change the view of the context menus in principle. If you are interested in the details, then this is a project for creating an interface using Eye Tracking, i.e. computer management interface using the eyes. - Mayeecks
  • Look in the direction of api Windows, otherwise this decision will be either its analogue or clumsy. Or both 😀 - pincher1519
  • Of course! WinAPI is our everything! :)) without it, and the mouse can not be intercepted. All this has long been ready. But with the mouse, the task was many times simpler than with the "context" ... But thanks for the advice. - Mayeecks

0