Un enfoque alternativo para su referencia:
Guarde los seguimientos como *.reg
e importe al registro (adaptado de Sully @ Wilders Security )
Windows Registry Editor Versión 5.00
[HKEY_CLASSES_ROOT \ * \ shell \ Mi menú]
"Icon" = "shell32.dll, 43"
"Subcomandos" = ""
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu1]
"MUIVerb" = "Editor de texto"
"Subcomandos" = ""
[HKEY_CLASSES_ROOT \ * \ shell \ Mi menú \ shell \ menu1 \ shell \ item1]
"MUIVerb" = "Bloc de notas ++"
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu1 \ shell \ item1 \ command]
@ = "C: \\ Archivos de programa \\ npp \\ notepad ++. Exe% 1"
[HKEY_CLASSES_ROOT \ * \ shell \ Mi menú \ shell \ menu1 \ shell \ item2]
"MUIVerb" = "Texto sublime"
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu1 \ shell \ item2 \ command]
@ = "C: \\ Archivos de programa \\ Sublime Text 3 \\ sublime_text.exe% 1"
[HKEY_CLASSES_ROOT \ * \ shell \ Mi menú \ shell \ menu2]
"MUIVerb" = "Audio"
"Subcomandos" = ""
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu2 \ shell \ item1]
"MUIVerb" = "Audacity"
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu2 \ shell \ item1 \ command]
@ = "audacity.exe% 1"
Referencias
AskVG
Directory Opus Resource Center
Anexo: menú de pseudocarpeta
Guardar como C:\copy.js
función fnCopyHereJ (src, dest) {
var objShell = nuevo ActiveXObject ("shell.application");
var objFolder = objShell.NameSpace (dest);
if (objFolder) {
objFolder.CopyHere (src);
} más {
WScript.echo ("Carpeta no válida:" + dest);
}
}
args = WScript.Argumentos;
fnCopyHereJ (args (0), args (1));
Importar al registro
Windows Registry Editor Versión 5.00
[HKEY_CLASSES_ROOT \ * \ shell \ Mi menú]
"Icon" = "shell32.dll, 43"
"Subcomandos" = ""
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu1]
"Icon" = "imageres.dll, -113"
"MUIVerb" = "Imagen"
"Subcomandos" = ""
[HKEY_CLASSES_ROOT \ * \ shell \ Mi menú \ shell \ menu1 \ shell \ item1]
"Icon" = "shell32.dll, 3"
"MUIVerb" = "Carpeta 1"
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu1 \ shell \ item1 \ command]
@ = "wscript C: \\ copy.js% 1 C: \\ Users \\ 01 \\ Imágenes"
[HKEY_CLASSES_ROOT \ * \ shell \ Mi menú \ shell \ menu1 \ shell \ item2]
"Icon" = "shell32.dll, 3"
"MUIVerb" = "Carpeta 2"
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu1 \ shell \ item2 \ command]
@ = "wscript C: \\ copy.js% 1 \" C: \\ Nueva carpeta \ ""
[HKEY_CLASSES_ROOT \ * \ shell \ Mi menú \ shell \ menu2]
"Icon" = "imageres.dll, -108"
"MUIVerb" = "Música"
"Subcomandos" = ""
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu2 \ shell \ item1]
"Icon" = "shell32.dll, 3"
"MUIVerb" = "Carpeta 1"
[HKEY_CLASSES_ROOT \ * \ shell \ My Menu \ shell \ menu2 \ shell \ item1 \ command]
@ = "wscript C: \\ copy.js% 1 C: \\ Users \\ 01 \\ Music"
[HKEY_CLASSES_ROOT \ Directory \ shell \ My Menu]
"Icon" = "shell32.dll, 43"
"ExtendedSubCommandsKey" = "* \\ shell \\ Mi menú"
Referencias
Invoque una copia de Windows desde la
carpeta PowerShell . Método Copiar Aquí (Windows)
Menús contextuales en cascada a través de entradas de registro estáticas y ExtendedSubCommandsKey