Get File Path of a Selected or clicked file on desktop or explorer
Hello All, I want to know how to get a file path when user selects a file or clicks a file on desktop or any where in explorer?? For example on right click on every file we get a Add to Archive of winrar, similarly i want to get my application as one of menu, Please help me..
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #108 · 20.5K reputationPosted Oct 9, 2011, 4:45 PM EDT
There is not an easy way to do what you are asking. Windows is not designed to work like that. Windows executes whatever program that is associated with a file, or the program itself when the program is itself executable. So the answer somewhat depends on the type of file.
Suthish NairRank #92 · 22.8K reputationPosted Oct 11, 2011, 9:47 AM EDT
Sam HobbsRank #108 · 20.5K reputationPosted Oct 11, 2011, 10:18 AM EDT