|I'd prefer to get the command-line arguments as passed into the main-method[^], but it should yield the same result.
It is an array of which the first item may be empty. If no arguments are supplied at all, then you probably did not register the correct command to launch the application. Did you include a "%1" in the command-line as registered to launch the application?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]