<完整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對象參考