App下载

demo_folderexists 在线工具

demo_folderexists 在线工具

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

If fs.FolderExists("c:	emp") = true Then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.Write("Folder c:	emp exists.")
Else
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.Write("Folder c:	emp does not exist.")
End If

set fs=nothing
%></FONT>

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