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