In this article, we will see how to add the Select command to the context menu in Windows 10. This will allow you to select files or invert the selection in File Explorer directly with one click.
Advertisеment
The Ribbon user interface of File Explorer in Windows 10 comes with a number of commands on the Home tab which allows you to select one or multiple files and folders. These commands include Select all, Select none, and Invert selection. You can add them to the context menu in File Explorer to access them faster. Here is how.
To Add Select Context Menu in Windows 10, do the following.
Apply the Registry tweak listed below. Paste its contents inside Notepad and save as a *.reg file.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell\Windows.invertselection] "CanonicalName"="{DCE2BBAD-735B-4343-BFDB-A31D594737F6}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-37381" "Icon"="imageres.dll,-5310" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-37380" "NeverDefault"="" "Position"="Bottom" [HKEY_CLASSES_ROOT\Folder\shell\Windows.invertselection\command] "DelegateExecute"="{0070746C-9A38-4236-822A-72CC4E5C8087}" [HKEY_CLASSES_ROOT\Folder\shell\Windows.selectall] "CanonicalName"="{b33bf5af-76d5-4d10-93e7-d8e22e93798f}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-31277" "Icon"="imageres.dll,-5308" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-31276" "Position"="Bottom" "NeverDefault"="" [HKEY_CLASSES_ROOT\Folder\shell\Windows.selectall\command] "DelegateExecute"="{aa28fbc7-59f1-4c42-9fd8-ba2be27ea319}" [HKEY_CLASSES_ROOT\Folder\shell\Windows.selectnone] "CanonicalName"="{A3E5349F-8943-4cec-BF26-03096D7B2244}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-37379" "Icon"="imageres.dll,-5309" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-37378" "Position"="Bottom" "NeverDefault"="" [HKEY_CLASSES_ROOT\Folder\shell\Windows.selectnone\command] "DelegateExecute"="{4705A6B4-E4CB-4ed1-AF8D-851C644A0459}" [HKEY_CLASSES_ROOT\Drive\shell\Windows.invertselection] "CanonicalName"="{DCE2BBAD-735B-4343-BFDB-A31D594737F6}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-37381" "Icon"="imageres.dll,-5310" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-37380" "NeverDefault"="" "Position"="Bottom" [HKEY_CLASSES_ROOT\Drive\shell\Windows.invertselection\command] "DelegateExecute"="{0070746C-9A38-4236-822A-72CC4E5C8087}" [HKEY_CLASSES_ROOT\Drive\shell\Windows.selectall] "CanonicalName"="{b33bf5af-76d5-4d10-93e7-d8e22e93798f}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-31277" "Icon"="imageres.dll,-5308" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-31276" "Position"="Bottom" "NeverDefault"="" [HKEY_CLASSES_ROOT\Drive\shell\Windows.selectall\command] "DelegateExecute"="{aa28fbc7-59f1-4c42-9fd8-ba2be27ea319}" [HKEY_CLASSES_ROOT\Drive\shell\Windows.selectnone] "CanonicalName"="{A3E5349F-8943-4cec-BF26-03096D7B2244}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-37379" "Icon"="imageres.dll,-5309" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-37378" "Position"="Bottom" "NeverDefault"="" [HKEY_CLASSES_ROOT\Drive\shell\Windows.selectnone\command] "DelegateExecute"="{4705A6B4-E4CB-4ed1-AF8D-851C644A0459}" [HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.invertselection] "CanonicalName"="{DCE2BBAD-735B-4343-BFDB-A31D594737F6}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-37381" "Icon"="imageres.dll,-5310" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-37380" "NeverDefault"="" "Position"="Bottom" [HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.invertselection\command] "DelegateExecute"="{0070746C-9A38-4236-822A-72CC4E5C8087}" [HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.selectall] "CanonicalName"="{b33bf5af-76d5-4d10-93e7-d8e22e93798f}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-31277" "Icon"="imageres.dll,-5308" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-31276" "Position"="Bottom" "NeverDefault"="" [HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.selectall\command] "DelegateExecute"="{aa28fbc7-59f1-4c42-9fd8-ba2be27ea319}" [HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.selectnone] "CanonicalName"="{A3E5349F-8943-4cec-BF26-03096D7B2244}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-37379" "Icon"="imageres.dll,-5309" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-37378" "Position"="Bottom" "NeverDefault"="" [HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.selectnone\command] "DelegateExecute"="{4705A6B4-E4CB-4ed1-AF8D-851C644A0459}" [HKEY_CLASSES_ROOT\AllFileSystemObjects\shell\Windows.invertselection] "CanonicalName"="{DCE2BBAD-735B-4343-BFDB-A31D594737F6}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-37381" "Icon"="imageres.dll,-5310" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-37380" "NeverDefault"="" "Position"="Bottom" [HKEY_CLASSES_ROOT\AllFileSystemObjects\shell\Windows.invertselection\command] "DelegateExecute"="{0070746C-9A38-4236-822A-72CC4E5C8087}" [HKEY_CLASSES_ROOT\AllFileSystemObjects\shell\Windows.selectall] "CanonicalName"="{b33bf5af-76d5-4d10-93e7-d8e22e93798f}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-31277" "Icon"="imageres.dll,-5308" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-31276" "Position"="Bottom" "NeverDefault"="" [HKEY_CLASSES_ROOT\AllFileSystemObjects\shell\Windows.selectall\command] "DelegateExecute"="{aa28fbc7-59f1-4c42-9fd8-ba2be27ea319}" [HKEY_CLASSES_ROOT\AllFileSystemObjects\shell\Windows.selectnone] "CanonicalName"="{A3E5349F-8943-4cec-BF26-03096D7B2244}" "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}" "CommandStateSync"="" "Description"="@shell32.dll,-37379" "Icon"="imageres.dll,-5309" "ImpliedSelectionModel"=dword:00000020 "MUIVerb"="@shell32.dll,-37378" "Position"="Bottom" "NeverDefault"="" [HKEY_CLASSES_ROOT\AllFileSystemObjects\shell\Windows.selectnone\command] "DelegateExecute"="{4705A6B4-E4CB-4ed1-AF8D-851C644A0459}"
In Notepad, press Ctrl + S or execute the File - Save item from the File menu. This will open the Save dialog. There, type or copy-paste the name "select.reg" including quotes. Double quotes are important to ensure that the file will get the "*.reg" extension and not *.reg.txt. You can save the file to any desired location, for example, you can put it in your Desktop folder.
Double click the file you created, confirm the import operation and you are done!
To understand how this tweak works, refer to my previous article where I explained how to add any Ribbon command to the Context menu in Windows 10. See
How to add any Ribbon command to the right click menu in Windows 10
In short, all the Ribbon commands are stored under this Registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell
You can export the desired command and modify the exported *.Reg in order to add it to the context menu of files, folders, or any other object visible in File Explorer.
To save your time, I made ready-to-use Registry files. You can download them here:
Alternatively, you can use Context Menu Tuner. It will allow you to add any Ribbon command to the context menu.
Click on "Select all", "Select none" and "Invert selection" in the list of available commands, then click "All Files" on the right side and click the "Add" button. See the screenshot above. Now, add the same command to Folder, Drive and Library. You can get the app here:
That's it.
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!
Advertisеment
What if you wanted the Select to be similar to the New menu. You could hover over Select, then a submenu would open with the different options.
Here you go:
Thanks!
You are welcome.
how to undo these changes
use the provided undo tweak.
how to undo these changes plz?
use the provided undo tweak.