Hmm. So if Windows shortens the filename when it passes it as an argument then presumably the program itself reconstructs that filename so it can pass it to the file-handling API? If not, and the API accept the shortened form, then you could always scan the folder for files that match the shortened name and deduce the original filename.
It'd also be cool if it displayed an explanation message when being run without arguments, so that we didn't get threads like this
