通过本文主要向大家介绍了subfolders,add with subfolders,include subfolders,fld.subfolders,vbs教程等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
SubFolders 属性
返回由指定文件夹中所有子文件夹(包括隐藏文件夹和系统文件夹)组成的 Folders 集合。
object.SubFolders
object 应为 Folder 对象的名称。
说明
以下代码举例说明如何使用 SubFolders 属性:
</div>Function ShowFolderList(folderspec) Dim fso, f, f1, s, sf Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder(folderspec) Set sf = f.SubFoldersFor Each f1 in sfs = s & f1.names = s & "<BR>"NextShowFolderList = sEnd Function

