Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows Registry Editor Version 5.00
- ; Open files
- ; Default Powershell Location C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
- [HKEY_CLASSES_ROOT\*\shell\Open Powershell Bash]
- @="Open Powershell Here"
- "Icon"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
- [HKEY_CLASSES_ROOT\*\shell\Open Powershell Bash\command]
- @="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\""
- ; This will make it appear when you right click ON a folder
- ; The "Icon" line can be removed if you don't want the icon to appear
- [HKEY_CLASSES_ROOT\Directory\shell\bash]
- @="Open Powershell Here"
- "Icon"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
- [HKEY_CLASSES_ROOT\Directory\shell\bash\command]
- @="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -NoExit -Command Set-Location -LiteralPath '%L'"
- ; This will make it appear when you right click INSIDE a folder
- ; The "Icon" line can be removed if you don't want the icon to appear
- [HKEY_CLASSES_ROOT\Directory\Background\shell\bash]
- @="Open Powershell Here"
- "Icon"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
- [HKEY_CLASSES_ROOT\Directory\Background\shell\bash\command]
- @="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -NoExit -Command Set-Location -LiteralPath '%L'"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement