'方法5 Set objFolderItem = objShellApp.NameSpace("C:\").Items().item("demo.exe") Set objFIVs = objFolderItem.Verbs() For i=0 To objFIVs.Count - 1 'MsgBox objFIVs.Item(i) Set objFIV = objFIVs.Item(i) If objFIV.Name = "打开(O)" Then '右键菜单中在中文系统是"打开(O)",英文自己改 objFIV.DoIt Exit For End IF Next