ASP GetFolder Method

The GetFolder method returns a Folder object for the specified path.
Syntax
FileSystemObject.GetFolder(path)
Parameter | Description |
---|---|
path | Required. The path to a specific folder |
Syntax
<%
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
