Can't figure out what should be a simple access problem

JohntheLast

Active member
I'm executing the following code:


File.writeTextFile("C:/temp",console.endLog().toString() );

In the start of the script I issued the console.beginLog();

I'm getting an access denied which I don't understand since the C:/temp directory is open.

Any thoughts?
 
i think you likely need to specify a filename beyond C:/temp/, like C:/temp/mylogfile.txt or similar.

rob
 
Back
Top