这个是开了的!
Dim FSO,file,folder
Set FSO=Server.CreateObject("Scripting.FileSystemObject")'创建FSO对象
Set folder=FSO.getFolder("C:\")'定位到C盘
'遍历c盘根目录所有文件
For each file in folder.files
Response.Write file.name
Next
单词拼写错误-_-Scripting