Windows Explorer Context Menu Integration, get file that was right clicked on

Posted by racxen on Stack Overflow See other posts from Stack Overflow or by racxen
Published on 2010-06-11T02:03:07Z Indexed on 2010/06/11 3:13 UTC
Read the original article Hit count: 180

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?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about registry