Windows资源管理器中上下文菜单的文件路径 [英] File path of Context Menu in Windows Explorer

查看:107
本文介绍了Windows资源管理器中上下文菜单的文件路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在寻找可以在我右键单击任何文件时提供当前选择文件路径的C#代码.
例如:我添加了一个注册表项:TEST,它将指向我的应用程序.现在,如果我右键单击桌面上的图像,则应该在应用程序中获取该图像的完整路径.

请帮我.

问候,
Jackie

Hi,

I am looking for C# code that gives me the current selection file path whenever I right click any file.
For example: I have added a registry entry say: TEST which will point to my application. Now if i right click an image on a desktop then I should get the complete path of that image in my application.

Pleas help me on this.

regards,
Jackie

推荐答案

看看此CP文章简单外壳上下文菜单 [ ^ ].
Have a look at this CP article Simple shell context menu[^].


这篇关于Windows资源管理器中上下文菜单的文件路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆