案例:ASP/ADO案例     状态:不可编辑再运行    进入竖版
 运行结果 
x
 
1
2
<html>
3
<body>
4
5
<%
6
Set fs=Server.CreateObject("Scripting.FileSystemObject")
7
8
Set f=fs.OpenTextFile(Server.MapPath("testread.txt"), 1)
9
Response.Write(f.Read(2))
10
Response.Write("<p>指针目前位于文本文件中的位置 " & f.Column & "。</p>")
11
f.Close
12
13
Set f=Nothing
14
Set fs=Nothing
15
%>
16
17
</body>
18
</html>
19