DriveWorks Pro 17: Write A Line Of Text To The End Of A Text File [send feedback...]

Write A Line Of Text To The End Of A Text File

This Specification task will write a line of text to the end of a text file (append).


Property NameDescription
TitleChanges the Title (not the name) of the task.
TextThe text to write (append) to the text file.
Text FileThe full path, including extension, of the file that the text will be written to.


When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
Text"DriveWorksSpecNo "&DWSpecificationIdDriveWorksSpecNo 9999This is the text that will be inserted into the text document.
Text file"C:\MyDocuments\SpecRecord.txt"C:\MyDocuments\SpecRecord.txtThis is the full file path to the text document to add the text to.

Example Result

Example Text File




Table of Contents