Wolfram: Write File
WriteString[ fileNameOrPath, string]-
write String to a file.
- If the file no exist, it is created.
- If the file already exists, it is overwritten.
- When done writing, call
Closeto close the file.
WriteString[ "xxtest.txt", "some thing"] Close[ "xxtest.txt" ]