我有这样的代码:
<html>
<head>
<title></title>
<style type="text/css">
.STYLE1 {font-family: "隶书";font-size: 12px;}
</style></head>
<body >
<p align="center"> </p><p class="STYLE1">
<%
testfolder="temp"
set sy=CreateObject("Scripting.FileSystemObject")
set s=sy.GetFolder(server.maPPATH(testfolder))
set fs=s.subfolders
response.write"<h2></h2><blockquote>"
for each whatever in fs
response.write"<A HREF='"
response.write request.servervariables("Script_name")
response.write"?pathh="&whatever.name
response.write"'>"
response.write whatever.name &" - "& whatever.datecreated
response.write"</A><br>"
Next
response.write "</blockquote>"
response.write"<h2>文件</h2><blockquote>"
set fc=s.files
for each whatever in fc
response.write"<A HREF='"
response.write testfolder &whatever.name
response.write"'>"
response.write whatever.name &" _ "& whatever.datecreated
response.write"</A><br>"
Next
response.write"</blockquote>"
%></p>
</body></html>
文件是显示出来了,但无法打开文件。
请指点!谢谢!