Not something silly like the path being too long for a char array is it? If you only have 64 chars for a path (including a null), you could only have

C:\Documents and Settings\Doug\My Documents\Empeg\Downloads\123

so the filename could only be 3 characters long. If however we go up a directory, you could have:

C:\Documents and Settings\Doug\My Documents\Empeg\1234567890123

or a 13 character filename which is reasonable....

Just a thought. I don't even know if it's written in C/VB/Delphi/whatever.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)