Hi there,
You can use the FileSystemObject for that. A simple example:
'Variables Declaration
Dim fso
'Create Object for the ASP File
Set fso = Server.CreateObject("Scripting.FileSystemObject")
'Create the asp file
Set aFile = fso.CreateTextFile("C:\YourFile.txt",true)
aFile.WriteLine("I am a line in the file.")
aFile.WriteLine("So am I")
aFile.Close
' Cleanup
Set aFile = Nothing
Check out the docs for the FileSystemObject at the MSDN site:
http://msdn.microsoft.com/library/de...FileSystem.asp
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.