开发者

send path to application with shell context menu

开发者 https://www.devze.com 2023-01-31 11:20 出处:网络
I like to send an path to my application with shell context menu. I use the following shell context menu which send this command prompt \"C:\\loger.exe\"/clog which runs the app only to my app. How t

I like to send an path to my application with shell context menu.

I use the following shell context menu which send this command prompt "C:\loger.exe"/clog which runs the app only to my app. How to send the selected path instead of only ru开发者_StackOverflow社区nning the app.

ps Im using .net2

thank you

"C:\loger.exe"/clog

send path to application with shell context menu


c:\logger.exe /clog "%1"

The %1 is the place holder for the selected file, double quotes to ensure that path names with spaces don't cause trouble.


Specify the command as:

"C:\loger.exe" "%1" /clog
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号