-->

C# And windows explorer context menu?

2019-06-10 16:12发布

问题:

I have an idea for a little C# program, where I want to be able to right click on a file in windows explorer and somehow 'tag' that file. Subsequent right clicks would show it's tagged state.

Bottom line is that I need to be able to right click on a file, see a custom menu item and perform a custom action as well as visualize some info.

Never having done this, I'm not even sure where to start... :)

Any good example out there? Things I should read up on? Links?

Thanks!

回答1:

The keyword you're looking for is Shell Extensions. For more information, see Windows shell extension with C# or Creating a shell extension with C#.