set fso=Server.CreateObject ("Scripting.FileSystemObject")
fpath=server.MapPath ("你所要检查的文件名")
if fso.FileExists(fpath) then
'文件存在
else
'文件不存在
end if