Where is the PATH to the file?

This works for me

 Code:
If Open(1,"C:\TEMP\SomeFile.txt",5) = 0
  $wl = WriteLine(1,"A bunch of stuff"+@CRLF)
  $wl = Close (1)
EndIf