Skip to main content

Write text

Write text to a file, overwriting or appending.

Command in the File toolkit · id ooa.file/write_text · 5 inputs (2 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
PathFileYesFile path.
TextStringYesText to write.
AppendBooleanNofalseAppend instead of overwrite.
EncodingStringNoutf-8Text encoding, e.g. utf-8, utf-16le, windows-1252; ansi uses the runner's default.
Fail if existsBooleanNofalseStop instead of writing when the file already exists.