日期:2010-05-28  浏览次数:20915 次

<%
set MyFileObject=server.createobject("Scripting.FileSystemObject")
set MyTextFile=MyFileObject.CreateTextFile("c:\test\test.htm")

MyTextFile.WriteLine("<html>")
MyTextFile.WriteLine("<head>")
MyTextFile.WriteLine("</head>")
MyTextFile.WriteLine("<body>")
……
MyTextFile.WriteLine("</body>")
MyTextFile.WriteLine("</html>")
MyTextFile.close
%>