ParentFolder Properties
Returns the parent folder of the specified file or folder. Read-only.
object.ParentFolder
object should be the name of the File or Folder object.
illustrate
The following code shows how to use itParentFolderproperty:
Function ShowFileAccessInfo(filespec) Dim fso, f, s Set fso = CreateObject("") Set f = (filespec) s = UCase() & "
The parent folder is" & UCase() & "<BR>"
s = s & "
Creation time:" & & "<BR>"
s = s & "
Last visit time:" & & vbCrLf
s = s & "
Last modified time:" &
ShowFileAccessInfo = s
End Function