Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a menu item in Windows right-click menu [closed]

I want to develop a simple window tool, to add a menu item in window right-click menu.

For example, I open "computer", navigate to C:, and right click on the free space, and I will see a menu.

Here,I want to add some items, just like bookmarks to store some disk locations I always visit

How to add the item... Can you give me some advices ? thanks

by the way, I use C# language to do this tool

like image 843
Miyazaki Avatar asked Aug 19 '13 08:08

Miyazaki


2 Answers

You need to write a shell extension for Windows Explorer. This extension will execute in the Explorer.exe process and previously it was not recommended to implement the extension using .NET because only one version of the .NET runtime could be loaded into Explorer.exe process. However, in .NET 4 it is possible to load multiple version of the .NET runtime within the same process making it possible to write shell extensions using .NET. For more information you can read the article How to Write Windows Shell Extension with .NET Languages on Code Project.

like image 146
Martin Liversage Avatar answered Oct 20 '22 10:10

Martin Liversage


I hope add any application to the desktop right click menu in vista

OR add any application shortcut to windows explorers context menu

will resolve your issue.

like image 25
Arun Chandran C Avatar answered Oct 20 '22 11:10

Arun Chandran C