To return information about a
specified folder, the Folder object is used.You will have to create an instance of the
Folder object through the FileSystemObject object to work with the properties and methods of
the Folder object,. First;with the use of the GetFolder method of the FileSystemObject object, create
a FileSystemObject object and then instantiate the Folder object
.
To instantiate the Folder object and the
DateCreated property to return the date when the specified
folder was created,the following code uses the GetFolder method of the
FileSystemObject object:
|