views:

108

answers:

1

I've already figured out how to add a menu item to the right click context menu of the windows explorer using the registry. I currently have it set to launch my application when my menu item is clicked.

However, I want to know if there is a way to know what file is was right clicked on. I thought it would have been sent as a command line argument to the launched program, but it's not. Any ideas?

+1  A: 

Add %L in the command line for the application you are launching at the place where you want the file name.

Franci Penov
That worked! thank you!
racxen