programming-examples/asp/More_Code_Snippets/This will insert text into a file.asp
2019-11-18 14:25:58 +01:00

10 lines
238 B
Plaintext

<%
strText="Sample text"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile("c:\testfile.txt", True)
objFile.Write (strText)
objFile.close
Set objFile=nothing
Set objFSO=nothing
%>