Monday, March 16, 2009

Create a text file called test.txt

Create a text file called test.txt

<%
Dim objFSO, objFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile("d:\test.txt", True)
objFile.WriteLine("This is a test.")
objFile.Close
%>

0 comments: