Like Tomalak said in the commets, i had to use the path module, so i splitted the dir and the name of the game.
And than i had to add '\\\\'
at the end of the line.
var dirgame = path.dirname(id)+'\\\\';
var namegame = path.basename(id);
child_process.exec(namegame, {cwd: dirgame});
CLICK HERE to find out more related problems solutions.