dir_name="abc"
Set fso = CreateObject("Scripting.FileSystemObject")
set self_path = fso.getfile(server.mappath(Request.ServerVariables("PATH_INFO")))
files_path=self_path.ParentFolder.ParentFolder
folderspec=files_path+"\"+dir_name
Set f = fso.GetFolder(folderspec)
Set fc = f.Files
For Each f1 in fc
response.write f1.name&"
"
next
---------------------------------------------------------------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
Function get...[ 查看全文 ]