Microsoft Scripting Runtime
FileSystemObject Object / CreateTextFile Method
In This Topic
    CreateTextFile Method
    In This Topic
    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