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
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
精彩评论