Microsoft Scripting Runtime
CreateTextFile Method
FileSystemObject Object : CreateTextFile Method
Description
Creates a specified file name and returns a TextStream object that can be used to read from or write to the file.
Syntax
Visual Basic
Public Function CreateTextFile( _
   ByVal FileName As String, _
   Optional ByVal Overwrite As Boolean = True, _
   Optional ByVal Unicode As Boolean = False _
) As TextStream
Parameters
FileName
Overwrite
Unicode
See Also

FileSystemObject Object  | FileSystemObject Members