The following code illustrates how to use the CreateTextFile method to create and open a text file. The value is True if the file is created as a Unicode file False if it's created as an ASCII file. Boolean value that indicates whether the file is created as a Unicode or ASCII file. If omitted, existing files can be overwritten. The value is True if the file can be overwritten False if it can't be overwritten.
Boolean value that indicates if an existing file can be overwritten. String expression that identifies the file to create. Always the name of a FileSystemObject or Folder object. The CreateTextFile method has these parts: Part
Creates a specified file name and returns a TextStream object that can be used to read from or write to the file.