WolframLang: Write File
WriteString[ fileNameOrPath, string]
-
write String to a file.
- If the file does no exist, it is created.
- If the file already exists, it is overwritten.
- When done writing, call
Close
to close the file.
WriteString[ "xxtest.txt", "some thing"] Close[ "xxtest.txt" ]
WolframLang, Shell Tasks
- WolframScript Tutorial
- WolframLang: File Name Extension
- WolframLang: Shell Tasks
- WolframLang: Navigate Directory
- WolframLang: List Files (Walk Directory)
- WolframLang: File Path Functions
- WolframLang: Delete Dir
- WolframLang: is File or Dir
- WolframLang: File Exist
- WolframLang: Get File Date
- WolframLang: Get File Size
- WolframLang: Print File Content
- WolframLang: Get File Hash
- WolframLang: Read File
- WolframLang: Write File
- WolframLang: Load a Package or File
- WolframLang: Get Environment Variable
- WolframLang: Date Time
- WolframLang: Find/Replace Script