Archive: Can't create file


Can't create file
  I'm trying to create a file using:-


FileOpen $0 xyz.out w

FileWrite$0 "text"
>FileClose $0
>
but the file is not created or overwritten.

What am I doing wrong here?

Use a full path.


Or

SetOutPath $EXEDIR
FileOpen $0 xyz.out w
FileWrite $0 "text"
FileClose $0