SBM AppScript Reference → Programming SBM AppScript → Extension Functions → Ext.AppendTextFile( fileName, contents )
Writes the string contents to the file referred to by string fileName, appending to the file's previous contents. The file is opened, written, and closed; if it doesn't exist, it is created first. Concurrent scripts cannot access the file for reading or writing until this write operation finishes. To overwrite a file's contents rather than appending them, refer to Ext.WriteTextFile( fileName, contents ).
Use the fileName argument to provide a fully qualified network path and file name. fileName can be any valid file path, including a path to a remote machine.
Returns the string parameter "contents".
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.