LOCAL lcfolder, oFSO AS Scripting.FileSystemObject,; oFolder, oSubFolder, lvar, lcfolder = GETDIR() IF NOT EMPTY(lcfolder) CREATE CURSOR ADIRECTORY (Name M, Path M,; DateCreated T, DateLastModified T, DateLastAccessed T,; Attributes I, ParentFolder M, ShortName M,; ShortPath M) oFSO = CREATEOBJECT("Scripting.FileSystemObject") oFolder = oFSO.GetFolder(lcfolder) FOR EACH oSubFolder IN oFolder.SubFolders * You must access each of the desired * members of the object for this to work FOR lni = 1 TO FCOUNT() lvar = EVALUATE('oSubFolder.' + FIELD(lni)) NEXT APPEND BLANK GATHER NAME oSubFolder MEMO NEXT ENDIFNote that the size property of the folder has been omitted. This is because of the amount of time it takes to calculate the size of the folder.