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..
Sam HobbsPosted Oct 11, 2011, 2:18 PM
Suthish NairPosted Oct 11, 2011, 1:47 PM
Sam HobbsPosted Oct 9, 2011, 8:45 PM
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.