-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOpenPowerShellHere.reg
23 lines (17 loc) · 1.04 KB
/
OpenPowerShellHere.reg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\directory\background\shell\PowerShell]
"Icon"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe"
@="Open PowerShell Here"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\directory\background\shell\PowerShell\command]
@="\"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoExit -Command Set-Location -LiteralPath '%V'"
[HKEY_CLASSES_ROOT\directory\shell\PowerShell]
"Icon"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe"
@="Open PowerShell here"
[HKEY_CLASSES_ROOT\directory\shell\PowerShell\command]
@="\"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoExit -Command Set-Location -LiteralPath \"%L\""
[HKEY_CLASSES_ROOT\Folder\shell\PowerShell]
@="Open PowerShell Here"
"Icon"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe"
[HKEY_CLASSES_ROOT\Folder\shell\PowerShell\command]
@="\"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoExit -Command Set-Location -LiteralPath '%L'"