Writes data to a unicode text file in a single operation in UTF 16 format.
First available in version 3.0 build 2039.
path - A fully qualified path to the file you want to write. This parameter supports monikers.
writeBOM - [Optional] - Write the BOM (byte order marker) at the beginning of the file. Valid values include: true,false. Default value is true.
bigEndian - [Optional] - Write to the file in big-endian byte order. Valid values include: false,true. Default value is false.
data - Data to be written.
No output parameters.
When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.
You can't use this function to create binary files, just text files.
All data in the specified file will be lost. You can use FileSys.appendToFileUTF16 to add data to a text file that already exists.