Windows 如何使图标显示在窗口自定义外壳条目旁边?

Windows 如何使图标显示在窗口自定义外壳条目旁边?,windows,shell,registry,Windows,Shell,Registry,下面是我为添加自定义shell条目所做的操作: Windows Registry Editor Version 5.00 ; Shows "Open ConsoleZ Here" when right clicking a directory [HKEY_CLASSES_ROOT\Directory\shell\ConsoleZ] @="Open ConsoleZ Here" [HKEY_CLASSES_ROOT\Directory\shell\ConsoleZ\command] @="C:\

下面是我为添加自定义shell条目所做的操作:

Windows Registry Editor Version 5.00

; Shows "Open ConsoleZ Here" when right clicking a directory
[HKEY_CLASSES_ROOT\Directory\shell\ConsoleZ]
@="Open ConsoleZ Here"
[HKEY_CLASSES_ROOT\Directory\shell\ConsoleZ\command]
@="C:\\Program Files\\ConsoleZ\\Console.exe"

; Shows "Open ConsoleZ Here" when right clicking a file
[HKEY_CLASSES_ROOT\*\shell\ConsoleZ]
@="Open ConsoleZ Here"
[HKEY_CLASSES_ROOT\*\shell\ConsoleZ\command]
@="C:\\Program Files\\ConsoleZ\\Console.exe"

; Shows "Open ConsoleZ Here" when right clicking desktop or background
[HKEY_CLASSES_ROOT\Directory\Background\shell\ConsoleZ]
@="Open ConsoleZ Here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\ConsoleZ\command]
@="C:\\Program Files\\ConsoleZ\\Console.exe"
我应该如何修改它以使一个图标显示在我的自定义shell条目旁边

我尝试了列出的建议,但没有成功。

我再次尝试了发布的答案,结果成功了。为了繁荣:

Windows Registry Editor Version 5.00

; Shows "Open ConsoleZ Here" when right clicking a directory
[-HKEY_CLASSES_ROOT\Directory\shell\ConsoleZ]
[HKEY_CLASSES_ROOT\Directory\shell\ConsoleZ]
@="Open ConsoleZ Here"
"Icon"="C:\\Program Files\\ConsoleZ\\Console.exe"
"Position"="Top"
[-HKEY_CLASSES_ROOT\Directory\shell\ConsoleZ\command]
[HKEY_CLASSES_ROOT\Directory\shell\ConsoleZ\command]
@="C:\\Program Files\\ConsoleZ\\Console.exe -d \"%V\""

; Shows "Open ConsoleZ Here" when right clicking a file that is not executable
[-HKEY_CLASSES_ROOT\*\shell\ConsoleZ]
[HKEY_CLASSES_ROOT\*\shell\ConsoleZ]
@="Open ConsoleZ Here"
"Icon"="C:\\Program Files\\ConsoleZ\\Console.exe"
"Position"="Top"
[-HKEY_CLASSES_ROOT\*\shell\ConsoleZ\command]
[HKEY_CLASSES_ROOT\*\shell\ConsoleZ\command]
@="C:\\Program Files\\ConsoleZ\\Console.exe -d \"%W\""

; Shows "Open ConsoleZ Here" when right clicking desktop or background
[-HKEY_CLASSES_ROOT\Directory\Background\shell\ConsoleZ]
[HKEY_CLASSES_ROOT\Directory\Background\shell\ConsoleZ]
@="Open ConsoleZ Here"
"Icon"="C:\\Program Files\\ConsoleZ\\Console.exe"
"Position"="Top"
[-HKEY_CLASSES_ROOT\Directory\Background\shell\ConsoleZ\command]
[HKEY_CLASSES_ROOT\Directory\Background\shell\ConsoleZ\command]
@="C:\\Program Files\\ConsoleZ\\Console.exe"
可能重复的