P
P
ProgeP2014-11-04 13:31:16
Windows
ProgeP, 2014-11-04 13:31:16

How to add command to explorer context menu?

Good afternoon everyone.
Tell me why the menu item does not appear when adding:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell]

[HKEY_CLASSES_ROOT\Directory\Background\shell\notepad]
@="Открыть Блокнот"

Reboot doesn't help.
Next code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\CMD]

adds a CMD item to the folder menu.
But I need a command in the menu from the free space in the folder.
Windows XP PRO SP3 system

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
oia, 2014-11-04
@oia

here is a working example, see further and this is for you in the tutorial www.pbdr.com/ostips/addexnew.htm
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt]
@="Command Prompt"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ shell\Command Prompt\command]
@="Cmd.exe /k pushd %L"

P
ProgeP, 2014-11-04
@ProgeP

Thank you, but I already did the example you gave, there are no problems here.
It is necessary that the command appears when clicking in a free place in the folder. And according to the link, if I understood everything correctly, we are talking about association with file types, which I do not need.

K
Konstantin, 2014-11-04
@fallen8rwtf

see the book "Windows 7 Registry". There is a working option. I used it for myself for all users through gpo. There is no way to lay out a piece

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question