4,007
社区成员
发帖
与我相关
我的任务
分享
On Error Resume Next
Set oShell = CreateObject("Shell.Application")
Set oDir = oShell.NameSpace(0) '桌面
For Each i In oDir.Items
If i.IsLink And InStr(LCase(i.Name),"aa") Then '文件名是否包含aa
'If MsgBox("是否删除" & i.Name & "?",vbYesNo) = 6 Then
i.Verbs.Item(i.Verbs.Count - 3).DoIt
'End If
End If
Next