Adding notepad, command prompt, powershell run here context menu
Create a text file, name it temp.reg. Then, for each application you want to add it context menu.
Copy and paste to the temp.reg. Then, just execute the temp.reg by double clicking it.
For Powershell
--------------
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\shell\powershell]@="PowerShell Here"[HKEY_CLASSES_ROOT\Directory\shell\powershell\command]@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -NoExit -Command Set-Location -LiteralPath '%L'"
Command Prompt
-----------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt]
@="Command Prompt Here"
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt\command]
@="C:\\Windows\\system32\\cmd.exe /k pushd %1"
Notepad
----------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Edit in Notepad]
[HKEY_CLASSES_ROOT\*\shell\Edit in Notepad\command]
@="notepad.exe \"%l\""
Copy and paste to the temp.reg. Then, just execute the temp.reg by double clicking it.
For Powershell
--------------
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\shell\powershell]@="PowerShell Here"[HKEY_CLASSES_ROOT\Directory\shell\powershell\command]@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -NoExit -Command Set-Location -LiteralPath '%L'"
Command Prompt
-----------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt]
@="Command Prompt Here"
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt\command]
@="C:\\Windows\\system32\\cmd.exe /k pushd %1"
Notepad
----------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Edit in Notepad]
[HKEY_CLASSES_ROOT\*\shell\Edit in Notepad\command]
@="notepad.exe \"%l\""
Comments