Im looking for the solution to following problem:
My application is associated with file MIME type so when the file with matching extension is selected my app is opened. But how can I get the name and path to selected file?

I've checked argc/argv and only application name is passed.