Windows Registry Editor Version 5.00
; Add_enhanced_cmd_and_powershell_to_menu.reg; Это добавляет опции подменю Command и Powershell
[HKEY_CLASSES_ROOT\Directory\Background\shell\01MenuCmd] "ExtendedSubCommandsKey" = "Directory\ContextMenus\MenuCmd" "Icon" = "cmd.exe" "MUIVerb" = "Командные строки"
[HKEY_CLASSES_ROOT\Directory\Background\shell\02MenuPowerShell] "ExtendedSubCommandsKey" = "Directory\ContextMenus\MenuPowerShell" "Icon" = "powershell.exe" "MUIVerb" = "Приглашения PowerShell"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\open] "Icon" = "cmd.exe" "MUIVerb" = "Командная строка"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\open\command] @ = "cmd.exe /s /k pushd \"% V \""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\runas] "HasLUAShield" = "" Icon "=" cmd.exe "" MUIVerb "=" Повышенная командная строка "
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\runas\command] @ = "cmd.exe /s /k pushd \"% V \""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuPowerShell\shell\open] "Icon" = "powershell.exe" "MUIVerb" = "PowerShell"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuPowerShell\shell\open\command] @ = "powershell.exe -noexit -command Set-Location"% V ""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuPowerShell\shell\runas] "HasLUAShield" = "" "Icon" = "powershell.exe" "MUIVerb" = "PowerShell Elevated"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuPowerShell\shell\runas\command] @ = "powershell.exe -noexit -command Set-Location '% V'"
[HKEY_CLASSES_ROOT\Directory\shell\01MenuCmd] "ExtendedSubCommandsKey" = "Directory\ContextMenus\MenuCmd" "Icon" = "cmd.exe" "MUIVerb" = "Командные строки"
[HKEY_CLASSES_ROOT\Directory\shell\02MenuPowerShell] "ExtendedSubCommandsKey" = "Directory\ContextMenus\MenuPowerShell" "Icon" = "powershell.exe" "MUIVerb" = "PowerShell Prompts"