ASP如何確定C 碟指定的是否目錄存在
<html><head>
<title></title>
</head>
<body>
<%
FolderName = "c:\temp"
Set fs = CreateObject("Scripting.FileSystemObject")
IF fs.FolderExists(FolderName) Then
Response.write "您指定的目錄存在"
Else
Response.write "您指定的目錄不存在"
End IF
Set fs = nothing
%>
</body>
</html>
頁:
[1]