An object available to access a computer's file system,this is the FileSystemObject. Folders,drives and text files can be accessed using this object.
The example below shows how to create a text file using FileSystemObject's CreateTextFile method.
<% fname = "MyFile.txt"set fs = CreateObject("Scripting.FileSystemObject")Set ctf = fs.CreateTextFile (server.MapPath("/temp") & "/" & fname,True)
ctf.WriteLine "Some example text"
ctf.Close
set fs = nothing
%>
copyright 1999-2008 VisualBuilder.com