<html> <body> <% Set fs=Server.CreateObject("Scripting.FileSystemObject") If fs.FolderExists("c:\temp") = true Then Response.Write("文件夹 c:\temp 存在。") Else Response.Write("文件夹 c:\temp 不存在。") End If set fs=nothing %> </body> </html>