R
Ramesh, MS-MVP
The total Count returns 12, but only 6 are displayed.
--------------
set objShell = CreateObject("Shell.Application")
set objFolder2 = objShell.Namespace("G:\Windows\System32")
set objFolderItem = objFolder2.Self
set objItemVerbs = objFolderItem.Verbs
msgbox objItemVerbs.count
For i = 0 to objItemVerbs.count -1
msgbox objItemVerbs.item(i)
i = i + 1
Next
set objItemVerbs = nothing
set objFolderItem = nothing
set objFolder2 = nothing
set objShell = nothing
--------------
set objShell = CreateObject("Shell.Application")
set objFolder2 = objShell.Namespace("G:\Windows\System32")
set objFolderItem = objFolder2.Self
set objItemVerbs = objFolderItem.Verbs
msgbox objItemVerbs.count
For i = 0 to objItemVerbs.count -1
msgbox objItemVerbs.item(i)
i = i + 1
Next
set objItemVerbs = nothing
set objFolderItem = nothing
set objFolder2 = nothing
set objShell = nothing