The 'admin' command was by Shawn Brink on this forum: here and I guess that's what you used? It seems I just tweaked the label on the line immediately following the key to something snappier!
My other context menu items were created via vbs - in case they are of any use, I shall attempt to embed it here:
Code:
'1/9/05 MNG script to create context menu options - uncomment 'Regdelete' lines to remove
'10/10/05 Write to HKCU for XP
'6/10/14 Test in Windows 10 - cmd command needs cd command to switch folders, can only switch drive if clicked in right pane
'9/10/14 x_from_here works once right syntax used
'4/7/15 revise command string to match Window tweaker value
'19/7/18: Now on W10 as std, prompt seems to work OK, x-from-here shows full folder tree - not needed!
'9/8/18 Add rename from XP (program folder name the same!), had to add %1 to open current folder
' ********************************************************************************
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScripT.Shell")
WSHShell.RegWrite "HKCU\Software\Classes\folder\shell\prompt!\command", "cmd.exe /s /k pushd ""%V"" "
'WSHShell.RegDelete "HKCU\Software\Classes\folder\shell\prompt!\command"
'WSHShell.RegDelete "HKCU\Software\Classes\folder\shell\prompt!"
'WSHShell.RegWrite "HKCU\Software\Classes\folder\shell\x_from_here\command", "explorer /n,/root,%1"
'WSHShell.RegDelete "HKCU\Software\Classes\folder\shell\x_from_here\command"
'WSHShell.RegDelete "HKCU\Software\Classes\folder\shell\x_from_here"
WSHShell.RegWrite "HKCU\Software\Classes\Directory\shell\rename_files\command", "c:\program files\utils\rename.exe %1"
'WSHShell.RegDelete "HKCU\Software\Classes\Directory\shell\rename_files\command"
'WSHShell.RegDelete "HKCU\Software\Classes\Directory\shell\rename_files"
I have left my comments in, although most are superfluous now I only use W10. The reason for the commented-out RegDelete lines is that it is easier to remove an item via code than drilling into the registry by hand - one has to know where one saved the entry (folder, directory etc). Note that the x_from_here is commented out as it no longer works usefully, but one day it might...
I retained my 'prompt' command, as sometimes an admin prompt is not helpful - files created under that prompt are owned by the (real) administrator account, for example, and tweaks to, say, unwanted apps, affect all users (I found that out the hard way).