Read Write and Append Text

Uses FSO to read, write, or append text in a file


Public

Tested

My Own Work
<%
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile("c:\testfile.txt", ForWriting, True)
f.Write "Hello world!"


%>

Views 3400 Downloads 1095

Classic ASP File System
JeffSmith
26
Revisions

v1.0