combine copy, cut, rename and delete contextmenu


stier

New member
Local time
4:10 PM
Posts
18
OS
win 11
hello there,

Is there a way to combine the options copy, cut, rename and delete to one sub-folder in the contextmenu from the right mouse button and delete the 4 single one's? Please a reg file to turn it to default settings and for the combine one.

I find the follow codes:

To add what works, only the old (single one stays in the contextmenu)
Code:
Windows Registry Editor Version 5.00

; Combine "Copy," "Cut," "Rename," and "Delete" into a single sub-folder

[HKEY_CLASSES_ROOT\*\shell\MyContextMenu]
"MUIVerb"="File Operations"
"SubCommands"=""

[HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Copy]
"MUIVerb"="Copy"

[HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Copy\command]
@="cmd.exe /c echo Copying %1"

[HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Cut]
"MUIVerb"="Cut"

[HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Cut\command]
@="cmd.exe /c echo Cutting %1"

[HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Rename]
"MUIVerb"="Rename"

[HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Rename\command]
@="cmd.exe /c echo Renaming %1"

[HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Delete]
"MUIVerb"="Delete"

[HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Delete\command]
@="cmd.exe /c echo Deleting %1"

To restore what not works
Code:
Windows Registry Editor Version 5.00

; Restore default context menu settings for "Copy," "Cut," "Rename," and "Delete"

[-HKEY_CLASSES_ROOT\*\shell\Copy]
[-HKEY_CLASSES_ROOT\*\shell\Cut]
[-HKEY_CLASSES_ROOT\*\shell\Rename]
[-HKEY_CLASSES_ROOT\*\shell\Delete]

[-HKEY_CLASSES_ROOT\Directory\Background\shell\Copy]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cut]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Rename]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Delete]

[-HKEY_CLASSES_ROOT\Directory\shell\Copy]
[-HKEY_CLASSES_ROOT\Directory\shell\Cut]
[-HKEY_CLASSES_ROOT\Directory\shell\Rename]
[-HKEY_CLASSES_ROOT\Directory\shell\Delete]

[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Copy]
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Cut]
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Rename]
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Delete]

To delete the custom sub-folder it must the follow code:

Code:
Windows Registry Editor Version 5.00

; Remove combined sub-folder and restore default context menu settings

[-HKEY_CLASSES_ROOT\*\shell\MyContextMenu]
[-HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Copy]
[-HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Cut]
[-HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Rename]
[-HKEY_CLASSES_ROOT\*\shell\MyContextMenu\shell\Delete]

[-HKEY_CLASSES_ROOT\Directory\Background\shell\MyContextMenu]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\MyContextMenu\shell\Copy]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\MyContextMenu\shell\Cut]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\MyContextMenu\shell\Rename]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\MyContextMenu\shell\Delete]

[-HKEY_CLASSES_ROOT\Directory\shell\MyContextMenu]
[-HKEY_CLASSES_ROOT\Directory\shell\MyContextMenu\shell\Copy]
[-HKEY_CLASSES_ROOT\Directory\shell\MyContextMenu\shell\Cut]
[-HKEY_CLASSES_ROOT\Directory\shell\MyContextMenu\shell\Rename]
[-HKEY_CLASSES_ROOT\Directory\shell\MyContextMenu\shell\Delete]

[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\MyContextMenu]
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\MyContextMenu\shell\Copy]
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\MyContextMenu\shell\Cut]
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\MyContextMenu\shell\Rename]
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\MyContextMenu\shell\Delete]



thx a lot
 
Windows Build/Version
windows 11 23h2 22631. 3371
Last edited:

My Computer

System One

  • OS
    win 11
Back
Top Bottom