in reply to loop inside system command

I'd recommend using the multi-argument variant of system().
system("C:\\execu", $firstbuild, @otherbuilds, 'file.c') and die "System command failed";

stephen