App下载

demo_fileexists 在线工具

demo_fileexists 在线工具

<html>
<body>

<FONT COLOR=#ff0000><%
Set fs=Server.CreateObject("Scripting.FileSystemObject")

If (fs.FileExists("c:winntcursors3dgarro.cur"))=true Then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.Write("File c:winntcursors3dgarro.cur exists.")
Else
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.Write("File c:winntcursors3dgarro.cur does not exist.")
End If

set fs=nothing
%></FONT>

</body>
</html>
运行结果