Tutorial-Web Home > The FileSystem Object > The Folder Object

Object Menu

Drive
File
Folder
Attributes
DateCreated
DateLastAccessed
DateLastModified
Drive
Files
IsRootFolder
Name
ParentFolder
Path
ShortName
ShortPath
Size
SubFolders
Type
Copy
Delete
Move
CreateTextFile
FileSystem
TextStream

 


 
DateLastAccessed
TypeRead-Only Property
Return Value TypeDate/Time
Usageobject.DateLastAccessed(Folder)
DescriptionDetermines the date the folder was last accessed by a process.
ExampleCode:
directoryname="c:\test\"
Set fso = CreateObject("Scripting.FileSystemObject")
set mainfolder=fso.GetFolder(directoryname)
response.write mainfolder.DateLastAccessed

Result:
2/5/02 13:05:28

The Bookworm
Search the Tutorial-Web library for books on any topic!
Sponsors

Search Now:
In Association with Amazon.com