W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
这是文本文件中的所有行(带有行号):
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") Set f=fs.OpenTextFile(Server.MapPath("testread.txt"), 1) do while f.AtEndOfStream = false Response.Write("Line:" & f.Line & " ") Response.Write(f.ReadLine) Response.Write("
") loop f.Close Set f=Nothing Set fs=Nothing %>