Create a new file

shell "cmd /c echo Hello!! > file.txt"

Append to existing file

shell "cmd /c echo Hello!! >> file.txt"


You can use @macros after the echo and as part of a filename too.

cj