©
Ce document utilise Manuel du site Web PHP chinois Libérer
GetFolder 方法返回指定路径的 Folder 对象。
FileSystemObject.GetFolder(path)
参数 | 描述 |
---|---|
path | 必需的。指向具体文件夹的路径。 |
<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.GetFolder("c:\test\")
Response.Write("The folder was last modified on: ")
Response.Write(f.DateLastModified)
set f=nothing
set fs=nothing
%>
输出:
The folder was last modified on 01/01/20 4:23:56 AM