-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathTOOL_PromptHere-PowerShell5-ISE.reg
More file actions
44 lines (41 loc) · 4.81 KB
/
TOOL_PromptHere-PowerShell5-ISE.reg
File metadata and controls
44 lines (41 loc) · 4.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Windows Registry Editor Version 5.00
;PowerShell v5 ISE | WindowsContextMenuTools created by VincentBounce
;DOESN'T work if path contains those chars: []
;from DIRECTORY | Windows Explorer folder icon | can use %1 or %V or %L
[-HKEY_CLASSES_ROOT\Directory\shell\run220PowerShell5ISE] ;removing previous version
[HKEY_CLASSES_ROOT\Directory\shell\run220PowerShell5ISE]
"MUIVerb"="PowerShell 5 &ISE"
"subcommands"=""
"Icon"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell_ise.exe"
;HERE
[HKEY_CLASSES_ROOT\Directory\shell\run220PowerShell5ISE\shell\run00220]
@="Open &here"
"Icon"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell_ise.exe"
[HKEY_CLASSES_ROOT\Directory\shell\run220PowerShell5ISE\shell\run00220\command]
@="cmd.exe /s /c start /D \"%V\" powershell_ise.exe" ;start.exe directly DOESN'T work ;this @="cmd.exe /c cd \"%1\" && powershell_ise.exe" keeps CMD window opened
;HERE AS ADMIN
[HKEY_CLASSES_ROOT\Directory\shell\run220PowerShell5ISE\shell\runas]
@="Open here as &Administrator"
"Icon"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell_ise.exe"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\shell\run220PowerShell5ISE\shell\runas\command]
@="cmd.exe /s /c start /D \"%V\" powershell_ise.exe"
;from BACKGROUND | Windows Explorer right pane background folder | need to use %V
[-HKEY_CLASSES_ROOT\Directory\Background\shell\run220PowerShell5ISE] ;removing previous version
[HKEY_CLASSES_ROOT\Directory\Background\shell\run220PowerShell5ISE]
"MUIVerb"="PowerShell 5 &ISE"
"subcommands"=""
"Icon"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell_ise.exe"
;HERE
[HKEY_CLASSES_ROOT\Directory\Background\shell\run220PowerShell5ISE\shell\run00220]
@="Open &here"
"Icon"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell_ise.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\run220PowerShell5ISE\shell\run00220\command]
@="cmd.exe /s /c start /D \"%V\" powershell_ise.exe" ;start.exe directly DOESN'T work ;this @="cmd.exe /c cd \"%1\" && powershell_ise.exe" keeps CMD window opened
;HERE AS ADMIN
[HKEY_CLASSES_ROOT\Directory\Background\shell\run220PowerShell5ISE\shell\runas]
@="Open here as &Administrator"
"Icon"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell_ise.exe"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\run220PowerShell5ISE\shell\runas\command]
@="cmd.exe /s /c start /D \"%V\" powershell_ise.exe"