Last active
October 27, 2024 18:22
-
-
Save AveYo/305ec63e18518b22f41d1b52a3d5022b to your computer and use it in GitHub Desktop.
7-Zip Windows 11 Context Menu entries via whitelisted id reuse example by AveYo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; 7-Zip Windows 11 Context Menu entries via whitelisted id reuse example by AveYo | |
; Add to archive.. only single files (multiple would need a single instance redirect tool) | |
[-HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\connectNetworkDrive] | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\connectNetworkDrive] | |
"MuiVerb"="@C:\\Program Files\\7-Zip\\7-zip.dll,-2324" | |
"Position"="Middle" | |
"Icon"="C:\\Program Files\\7-Zip\\7-zip.dll,0" | |
"MultiSelectModel"="Single" | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\connectNetworkDrive\command] | |
@="\"C:\\Program Files\\7-Zip\\7zG.exe\" u -t7z -ad \"%1\" \"%1\"" | |
; Add to archive.. on folder = open 7-Zip in folder | |
[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\connectNetworkDrive] | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\connectNetworkDrive] | |
"MuiVerb"="@C:\\Program Files\\7-Zip\\7-zip.dll,-2324" | |
"Position"="Middle" | |
"Icon"="C:\\Program Files\\7-Zip\\7-zip.dll,0" | |
"MultiSelectModel"="Single" | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\connectNetworkDrive\command] | |
@="C:\\Program Files\\7-Zip\\7zFM.exe \"%V\"" | |
; Extract to separate folders | |
[-HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\disconnectNetworkDrive] | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\disconnectNetworkDrive] | |
"MuiVerb"="@C:\\Program Files\\7-Zip\\7-zip.dll,-2327" | |
"Position"="Middle" | |
"Icon"="C:\\Program Files\\7-Zip\\7-zip.dll,0" | |
"MultiSelectModel"="Player" | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\disconnectNetworkDrive\command] | |
@="\"C:\\Program Files\\7-Zip\\7zG.exe\" x \"%1\" -r -o*" | |
; Open archive | |
[-HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Windows.CompressTo] | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Windows.CompressTo] | |
"MuiVerb"="@C:\\Program Files\\7-Zip\\7-zip.dll,-2322" | |
"Position"="Middle" | |
"Icon"="C:\\Program Files\\7-Zip\\7-zip.dll,0" | |
"MultiSelectModel"="Single" | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Windows.CompressTo\command] | |
@="\"C:\\Program Files\\7-Zip\\7zFM.exe\" \"%1\"" | |
; uncomment to remove entries | |
;[-HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\connectNetworkDrive] | |
;[-HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\connectNetworkDrive] | |
;[-HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\disconnectNetworkDrive] | |
;[-HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Windows.CompressTo] |
@tang-nn, you can't do submenus with such simple regedit as far as I know
@tang-nn, you can't do submenus with such simple regedit as far as I know
Any other solutions?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can menu items be merged and collapsed?