This beginner's question must surely have been asked and aswered already, however the search through this forum gives nothing.

I have created the links to associate a given file extension to my app. Having done that, is there a method to process the parameters in main(int argc, char *arg[]) to get the file name ?

The *char array apparently is the app path concatenated with the file path, but is it possible to get the file path only ?

Thanks in advanced for any help

andre