4,009
社区成员




Set oShell = CreateObject("Shell.Application")
Set oDir = oShell.NameSpace("d:\")
oDir.Items.Item("test.xxx").Verbs.Item(0).DoIt
Set oShell = CreateObject("Shell.Application")
Set oDir = oShell.NameSpace(0)
For Each x In oDir.Items
if "test.xxx" = LCase(x.Name) Then Set oFile = x
Next
oFile.Verbs.Item(0).DoIt