SBM AppScript Reference → Programming SBM AppScript → Extension Functions → Ext.WriteTextFile( fileName, contents )
Writes the string contents to the file referred to by string fileName, overwriting 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.
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.