<完整FileSystemObject对象参考
GetFolder方法返回指定路径的文件夹对象。
句法
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
%>
Output:
The folder was last modified on 01/01/20 4:23:56 AM
<完整FileSystemObject对象参考