All Methods
TextStream Object
METHOD: TextStream.WriteLine
Implemented in version 2.0
object.
WriteLine
This method writes a supplied string to a
TextStream
file, followed by a new line character.
Code:
<%
Dim filesys, testfile
Set filesys = CreateObject("Scripting.FileSystemObject")
Set testfile= filesys.CreateTextFile("c:\somefile.txt", True)
testfile.WriteLine "Your text goes here."
testfile.Close
%>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information