I got this from the FAQ on reading/writing to textfiles but when i insert it in my code, i get a runtime error pointing to Server.MapPath. Does anyone know exactly what i should put there.:-(
dim fsoObj, sFileName, objtextFile
sFileName = Server.MapPath("writeToThisFile.txt"
set fsoObj = Server.CreateObject("Scripting.FileSystemObject"
set objtextFile = fsoObj.OpenTextFile(sFileName, 8)
objTextFile.WriteLine ("Hello world"
objTextFile.Close
set objTextFile = nothing
set fsoObj = nothing
dim fsoObj, sFileName, objtextFile
sFileName = Server.MapPath("writeToThisFile.txt"
set fsoObj = Server.CreateObject("Scripting.FileSystemObject"
set objtextFile = fsoObj.OpenTextFile(sFileName, 8)
objTextFile.WriteLine ("Hello world"
objTextFile.Close
set objTextFile = nothing
set fsoObj = nothing