Won't render to png, please help!

Why is it that:
renderWindowSaveImageCallback "renderView" ("C:/nib/3d/Skol-Projekt/ProjectIkaros/images/Ocean.png") "PNG";
works (saves to png), but:
renderWindowSaveImageCallback "renderView" ("C:/nib/3d/Skol-Projekt/ProjectIkaros/images/Ocean/" + $XKordinat + "*" + $YKordinat + ".png") "PNG"; tries to render to .png.iff?

Thanks very much if you know the answer to this one, I'm a newbie at MEL.

ran as a test

{
$test = "hey";
renderWindowSaveImageCallback "renderView" ("C:/Temp/test/out/"+$test) "PNG";
}

And it worked perfectly!

but firstof "*" is a illegal filename character atleast in windows, in general not a good idea to have wildcharacter in filenames. use "x" instead

Note this actualy does not render but rather just the resaving of the temporary test render file to another format. Why not use bath render?

thanks, dude. that * thing was the big problem