New
#41
Thanks FreeBooter,
I should have worked that out!![]()
I manually created the reg entries, I think everything is proper...,
you can try it if you want...
Code:Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools] "Position"="Bottom" "Icon"="imageres.dll,104" "Subcommands"="" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell] [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\001flyout] @="All Tasks" "Icon"="control.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\001flyout\command] @="explorer shell:::{ED7BA470-8E54-465E-825C-99712043E01C}" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\002flyout] @="Computer Management" "Icon"="Mycomput.dll,-204" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\002flyout\command] @="C:\\Windows\\system32\\mmc.exe /s C:\\Windows\\system32\\compmgmt.msc" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\003flyout] @="Control Panel" "Icon"="control.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\003flyout\command] @="control.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\004flyout] @="Device Manager" "Icon"="devmgr.dll,-201" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\004flyout\command] @="explorer shell:::{74246bfc-4c96-11d0-abef-0020af6b0b7a}" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\005flyout] @="Local Group Policy Editor" "Icon"="gpedit.dll" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\005flyout\command] @="mmc.exe /s gpedit.msc" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\006flyout] "Icon"="wsecedit.dll" @="Local Security Policy" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\006flyout\command] @="mmc.exe /s secpol.msc" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\007flyout] @="MSConfig" "Icon"="msconfig.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\007flyout\command] @="msconfig.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\008flyout] @="Programs and Features" "Icon"="%SystemRoot%\\System32\\appwiz.cpl" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\008flyout\command] @="explorer shell:::{7b81be6a-ce2b-4676-a29e-eb907a5126c5}" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\009flyout] @="Registry Editor" "Icon"="regedit.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\009flyout\command] @="regedit.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\010flyout] @="Run" "Icon"="imageres.dll,-100" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\010flyout\command] @="explorer.exe Shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\011flyout] "Icon"="filemgmt.dll" @="Services" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\011flyout\command] @="mmc.exe /s services.msc" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\012flyout] @="Snipping Tool" "Icon"="SnippingTool.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\012flyout\command] @="SnippingTool.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\013flyout] @="Task Manager" "Icon"="taskmgr.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\System Tools\shell\013flyout\command] @="taskmgr.exe"
Yes, I agree!
The only problem was with the Programs and Features. This is what is produced by your code, and this is what is produced when I open Control Panel => Programs and Features . . .
I did look to see if the CLSID {7b81be6a-ce2b-4676-a29e-eb907a5126c5} was correct and it was!
Thanks in advance.
Use:
I got this path from a bit of recursive PowerShell. Copy & paste. You'll love the output.Code:explorer "::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{7B81BE6A-CE2B-4676-A29E-EB907A5126C5}"
Code:$Shell = New-Object -ComObject shell.application $DT = $Shell.Namespace(0) Function Unfold ($oFolder) { $oFolder.Items() | ?{ ($_.IsFolder -eq $True) -and ($_.Name -notLike 'Fonts') } | ForEach{ UnFold $_.GetFolder } $_.GetFolder.Items() | select Name, Path } $DT.Items() | ?{($_.IsFolder -eq $True) -and ($_.Name -match 'Control Panel')} | % { Unfold $_.GetFolder } | Select Name, Path -unique | Sort Path | Out-Gridview![]()
Last edited by KeithM; 22 Feb 2020 at 11:51.
As I have mentioned in previous posts, I am compiling a working solution that I can implement [Context menus] using REG files after the clean install so that the OS is pretty much exactly what I want, hence the use of several third-party software, although these third-party softwares will NOT be used. I can then IMPORT them [run them as a REG file] into the clean installed OS.
I have this one below [third-party software] which I will find extremely useful [on right-clicking a Folder it selects ALL the files within the Folder and saves it to the Clipboard], and I would like to know how to convert it to a normal REG file so it can be used please . . .
Code:Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\Z002AAN] "MUIVerb"="Copy Folder Contents List" "Icon"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\ 00,65,00,73,00,25,00,5c,00,45,00,61,00,73,00,79,00,20,00,43,00,6f,00,6e,00,\ 74,00,65,00,78,00,74,00,20,00,4d,00,65,00,6e,00,75,00,5c,00,45,00,63,00,4d,\ 00,65,00,6e,00,75,00,2e,00,65,00,78,00,65,00,2c,00,33,00,33,00,00,00 [HKEY_CLASSES_ROOT\Directory\shell\Z002AAN\command] @=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\ 00,65,00,73,00,25,00,5c,00,45,00,61,00,73,00,79,00,20,00,43,00,6f,00,6e,00,\ 74,00,65,00,78,00,74,00,20,00,4d,00,65,00,6e,00,75,00,5c,00,45,00,63,00,4d,\ 00,65,00,6e,00,75,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,00,43,00,6f,00,\ 70,00,79,00,46,00,6f,00,6c,00,64,00,65,00,72,00,43,00,6f,00,6e,00,74,00,65,\ 00,6e,00,74,00,73,00,20,00,22,00,25,00,31,00,22,00,00,00
At present, it uses hex which I am not familiar with!
Thanks in advance.
Last edited by Paul Black; 23 Feb 2020 at 08:57.
OK, please don't laugh but I have put this together that I think might work. Can someone just have a look and see what mistakes I have made please.
This is for the File Names, Date, and Size within a Folder to be copied to the Clipboard in HKEY_CLASSES_ROOT\Directory\shell\ . . .
Code:[HKEY_CLASSES_ROOT\Directory\shell\CopyFolderFileNames+] @="Copy Folder File Names, Date, Size To Clipboard" "MUIverb"="Copy Folder File Names, Date, Size To Clipboard" "Icon"="cmd.exe" "Position"="Top" [HKEY_CLASSES_ROOT\Directory\shell\CopyFolderFileNames+\command] @="cmd /c dir \"%1\" /b /a:-d /o:n | Clip"
For removing it I would use . . .
Code:[-HKEY_CLASSES_ROOT\Directory\shell\CopyFolderFileNames+]
If I want these available when I click ANY Folder ANYWHERE, do I need to add it to somewhere else also. I am still a bit confused about that aspect.
Thanks in advance.