Heres the code i am currently using
Expand|Select|Wrap|Line Numbers
- <%
- thetext="Write this text in the file"
- Set fs = CreateObject("Scripting.FileSystemObject")
- Set wfile = fs.CreateTextFile("c:\myfile.txt", True)
- wfile.Write (thetext)
- wfile.close
- Set wfile=nothing
- Set fs=nothing
- response.write("Text created")
- %>
Any help would be great
Thanks