fso使用readall来获取文本的内容
<%
Set MyFileObject=Server.CreateObject("Scripting.FileSystemObject")
path=server.mappath("temp/test.htm")
Set MyTextFile=MyFileObject.OpenTextFile(path)
str=MyTextFile.readall
MyTextFile.Close
Set MyFileObject=Nothing
response.write str
%>
补充:asp教程,FSO专题