help-- using writefile in winXP



I have a batch file with:

DISPLAY2D:FALSE;

WRITEFILE("GG.TXT")$

LAPLACE(COSH(A*T),T,S);

CLOSEFILE("GG.TXT")$


It creates the file but then:

Using Lisp Kyoto Common Lisp GCL 2.6.5 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) batch("ll2.mac");

batching #pC:/Documents and Settings/doug/Desktop/ll2.mac
(%i2)                    DISPLAY2D : FALSE
(%o2) FALSE
(%i3) WRITEFILE("GG.TXT")
Starts dribbling to GG.TXT (2005/5/7, 15:27:29).
(%i4) LAPLACE(COSH(A*T),T,S)
(%o4) S/(S2-A2)
(%i5) CLOSEFILE("GG.TXT")
Maxima encountered a Lisp error:

Error in MACSYMA-TOP-LEVEL [or a callee]: MACSYMA-TOP-LEVEL [or a 
callee] requires less than one argument.

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.



and it hangs here but if I do:

:top
then it comes alive again.

I tried:

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
backtrace();(%i6) BACKTRACE()
(%o6) FALSE

but I don't know enough about backtrace to understand this;

Why doesn't it close the file???
PS  the file is blank untill I restart maxima , then the commands that I 
have typed in are there but the results of the batch file are not.
PPS I think it has something to do with the windows port??

Doug Stewart