daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Windows Registry Editor Version 5.00
  2.  
  3. ; Command Prompt
  4.  
  5. [HKEY_CLASSES_ROOT\Directory\shell\01MenuCmd]
  6. "MUIVerb"="Command Prompts"
  7. "Icon"="cmd.exe"
  8. "ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuCmd"
  9.  
  10. [HKEY_CLASSES_ROOT\Directory\background\shell\01MenuCmd]
  11. "MUIVerb"="Command Prompts"
  12. "Icon"="cmd.exe"
  13. "ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuCmd"
  14.  
  15. [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\open]
  16. "MUIVerb"="Command Prompt"
  17. "Icon"="cmd.exe"
  18.  
  19. [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\open\command]
  20. @="cmd.exe /s /k pushd \"%V\""
  21.  
  22. [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\runas]
  23. "MUIVerb"="Command Prompt Elevated"
  24. "Icon"="cmd.exe"
  25. "HasLUAShield"=""
  26.  
  27. [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuCmd\shell\runas\command]
  28. @="cmd.exe /s /k pushd \"%V\""
  29.  
  30.  
  31. ; PowerShell
  32.  
  33. [HKEY_CLASSES_ROOT\Directory\shell\02MenuPowerShell]
  34. "MUIVerb"="PowerShell Prompts"
  35. "Icon"="powershell.exe"
  36. "ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuPowerShell"
  37.  
  38. [HKEY_CLASSES_ROOT\Directory\background\shell\02MenuPowerShell]
  39. "MUIVerb"="PowerShell Prompts"
  40. "Icon"="powershell.exe"
  41. "ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuPowerShell"
  42.  
  43. [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuPowerShell\shell\open]
  44. "MUIVerb"="PowerShell"
  45. "Icon"="powershell.exe"
  46.  
  47. [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuPowerShell\shell\open\command]
  48. @="powershell.exe -noexit -command Set-Location '%V'"
  49.  
  50. [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuPowerShell\shell\runas]
  51. "MUIVerb"="PowerShell Elevated"
  52. "Icon"="powershell.exe"
  53. "HasLUAShield"=""
  54.  
  55. [HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuPowerShell\shell\runas\command]
  56. @="powershell.exe -noexit -command Set-Location '%V'"
  57.  
  58.  
  59. ; Ensure OS Entries are on the Extended Menu (Shift-Right Click)
  60.  
  61. [HKEY_CLASSES_ROOT\Directory\shell\cmd]
  62. "Extended"=""
  63.  
  64. [HKEY_CLASSES_ROOT\Directory\background\shell\cmd]
  65. "Extended"=""
  66.  
  67. [HKEY_CLASSES_ROOT\Directory\shell\Powershell]
  68. "Extended"=""
  69.  
  70. [HKEY_CLASSES_ROOT\Directory\background\shell\Powershell]
  71. "Extended"=""
RAW Paste Data
Top