How I can run a MSC Windows file which is stored in a reg value as a context menu option?
When I click on the option, absolutelly nothing happens.
PS: I don't want to trick it starting CMD window or WScript to run the file.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\CPanel.Administrador.de.discos] @="Administrador de discos" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\CPanel.Administrador.de.discos\command] @="devmgmt.msc"
To understand my question...
I've made many contextmenus options with subcommands, the registry script I shown before is an option to start an msc file "C:\Windows\system32\devmgmt.msc" like you can do with all type of executable files, the problem is the msc will not start as an exe, nothing happens when I click my option, and I don't know why.
The question: How to run a MSC file from registry?