- Documentation
- Activities
- Files & Folders
- Append Text File
Add text to the end of a text file
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
File filePath | file | Required | — | — |
Content to Append content | text | Required | — | — |
Add Newline Before Content addNewline | boolean | Optional | false | — |
Create If Missing createIfMissing | boolean | Optional | false | — |
Encoding encoding | enum | Optional | utf-8 | —utf-8utf-16asciilatin1 |
Output Variable outputVariable | variable | Optional | AppendResult | — |
Output
$outputVariableObjectObject describing the append result. Reference {AppendResult.filePath}, {AppendResult.bytesAppended}, {AppendResult.totalSizeBytes}, {AppendResult.created}, {AppendResult.success}, or {AppendResult} alone (resolves to the file path).
successBooleanfilePathStringbytesAppendedNumbertotalSizeBytesNumbercreatedBooleanpathString
Compatibility
WindowsLinuxAttendedUnattended
Related activities
Copy File
Copy a file somewhere else, leaving the original where it is
Create File
Create a file, with or without starting text in it
Delete File
Delete a file for good. It does not go to the Recycle Bin
Download from URL
Download a file from a web address and save it to your computer
File Exists
Check whether a file is there
Get File Info
Get a file's name, size, dates, and whether it is read-only