开发者

send path to application with shell context menu

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜