Fprint And \n

i need to make a script that outputs a .bat file in the end and im having a bit of a problem with fprint

im going basically from the MEL example from maya, i just didnt use the internalVar command

$exampleFileName = "c:/temp1.bat";
$fileId=fopen $exampleFileName "w";
fprint $fileId "Hello there\n";
fclose $fileId;

what happens is that in the resultant .bat it prints out what its supposed to, but the \n doesnt send it to a new line, instead it places one of those unknown character boxes in its place

im using maya 2008, and ive tried it in 8.5 also with the same results, any help is appreciated

Its all cool. Thats only in notepad. hava look at it with a common-sense editor. Even Wordpad displays it correctly.

i figured out how to do it...i should have searched on here before posting...all i have to do is use /r/n instead of just /n