遍历指定文件夹下所有的文件

    Dim thing As Variant
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set fld = fso.getFolder("strFolderPath")
   
    For Each thing In fld.Files
           ...... 
    Next

   遍历指定文件夹下所有的文件thing

posted @ 2007-10-10 10:15  MyFavorite  阅读(379)  评论(0编辑  收藏  举报