源代码
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") If (fs.FileExists("c:\windows\cursors\xxx.cur"))=true Then Response.Write("文件 c:\windows\cursors\xxx.cur 存在。") Else Response.Write("文件 c:\windows\cursors\xxx.cur 不存在。") End If set fs=nothing %>
运行结果