programming-examples/asp/More_Code_Snippets/Create a text file called test.asp

7 lines
200 B
Plaintext
Raw Normal View History

2019-11-18 14:25:58 +01:00
<%
Dim objFSO, objFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile("d:\test.txt", True)
objFile.WriteLine("This is a test.")
objFile.Close
%>