i have added an item in the context menu of windows explorer using registry.
i want that when user right clicks on a file and then clicks on my added context menu item then an application must execute as well as location of that file must be availabe.
My application gets executed but i could not get the path of file on which i right clicked
How exactly did you add that context menu item? You need to pass the file name somewhere which is usually done by putting
%1into the command line to be executed.So if the command you’re currently executing is
it should be