查了下资料,代码这样写
Dim shell As New Shell32.Shell()Dim folder As Shell32.Folder = shell.[NameSpace](System.IO.Path.GetDirectoryName("d:\test.mp3"))Dim item As Shell32.FolderItem = folder.ParseName("test.mp3")msgbox(folder.GetDetailsOf(item, -1))
需要引用 shell32.dll