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
Close
to close the file.
WriteString[ "xxtest.txt", "some thing"] Close[ "xxtest.txt" ]
WolframLang, Shell Scripting Tasks
- Wolfram: Shell Scripting Tasks
- Wolfram: Navigate Directory
- Wolfram: List Files (Walk Directory)
- Wolfram: File Path Functions
- Wolfram: Delete Dir
- Wolfram: is File or Dir
- Wolfram: File Exist
- Wolfram: Get File Date
- Wolfram: Get File Size
- Wolfram: Print File Content
- Wolfram: Get File Hash
- Wolfram: Read File
- Wolfram: Read File from Web
- Wolfram: Write File
- Wolfram: Load a Package or File
- Wolfram: Get Environment Variable
- Wolfram: Date Time
- Wolfram: Find Replace Script