and the filename is definately longer than 8 characters

The problem isn't the length, it's the fact that the code uses spaces to parse command line parameters. So if the path and/or filename has spaces, it will mis-parse as far as I know. There's no problem with a 50-character filename as long as it doesn't have spaces. I could be wrong...
_________________________
Tony Fabris