1

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 running the app.

ps Im using .net2

thank you

"C:\loger.exe"/clog

alt text

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

Comments

1

Specify the command as:

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.