You know how if you browse through the registry, how one does on a lonely Friday night, and (as again is common practice) you look through HKEY_CLASSES_ROOT and scroll down (being careful to not be attacked by the vicious scrollbar virus which instantly overheats your monitor) to, say, giffile. Then go to shell/open/command and you will see that it is told to open (well, on my computer at least) Photo Editor but then puts "%1" at the end.

Aha, said I. To myself. In fact, I was alone at the time. Just as well since I was wearing .. well .. er .. nothing and provinding my own heat

But my attention moved from the awesome, throbbing creature to my computer. I had discovered, friends and gutter-enhabiting neanderthals, that when windows shells an application with the purpose of opening a file it somehow tells it through "%1" that there is a specific file it should open.

Despite my massive ... intellect I do not know how one can access both IF the program has been opened this way AND the way one can find the file to be opened.

Thank you.

Me and my Billy Bass (one-eyed trout)