os.writeFile()
Description
Write the entire content of a file.
Syntax
os.writeFile(filename, text)os.writeFile(filename, data)
Parameters
writeFile(filename, content)
filenamecontent
Pathname of the file to write.
A string or a Data object containing the entire content of the file.