1,488
社区成员
发帖
与我相关
我的任务
分享
Sub main()
Dim i As Long
Dim FSO As Object, objFile As Object, objApp As Object, objNSP As Object
Set FSO = CreateObject("Scripting.FileSystemObject")
Set objFile = FSO.GetFile("f:\kugou\01.采红菱.mp3")
Set objApp = CreateObject("Shell.Application")
Set objNSP = objApp.NameSpace(objFile.ParentFolder.Path)
For i = 0 To 40 'objNSP.items.Count - 1
Debug.Print i, objNSP.GetDetailsOf(0, i), objNSP.GetDetailsOf(objNSP.items.Item(objFile.Name), i)
Next i
End Sub