Add “PowerShell Here” and “Command Window Here” to right click menu for drives, folders, and current...
I've tried applying and editing the .reg files, for example, here and here
But can't seem to get a "PowerShell Here" and "Command Window" here option in all right click menus without holding Shift for some.
Is there a way to add these to every right click menu (i.e., a drives, folders, and white space within a folder) with a single .reg file?
This question is different form this one
in that I am also including right clicking in the white space of a currently opened folder (not just clicking directly on a folder or drive).
powershell context-menu right-click
add a comment |
I've tried applying and editing the .reg files, for example, here and here
But can't seem to get a "PowerShell Here" and "Command Window" here option in all right click menus without holding Shift for some.
Is there a way to add these to every right click menu (i.e., a drives, folders, and white space within a folder) with a single .reg file?
This question is different form this one
in that I am also including right clicking in the white space of a currently opened folder (not just clicking directly on a folder or drive).
powershell context-menu right-click
Yes there is. There must be. I remember having something set this up for me in Windows 95, and I wish it was easier to set these up yourself nowadays.
– Jarmund
May 22 '15 at 19:54
Possible duplicate of Can I add a Windows Explorer context menu option to start command prompt in the selected directory? See my answer there. The Extended verb should not be present in any of the 3 locations, i.e. Drive, Directory and DirectoryBackground.
– Karan
May 22 '15 at 22:26
"This question is different form this one" - No it isn't. Read my answer there carefully. Your use case is handled as well (I also mentioned it explicitly in my comment above). You mentioned 3 context menus; I mentioned 3 registry keys. Is this so hard to correlate?
– Karan
May 23 '15 at 0:14
Sorry, you are correct. I overlooked the third one. Thanks!
– blashmet
May 26 '15 at 17:54
add a comment |
I've tried applying and editing the .reg files, for example, here and here
But can't seem to get a "PowerShell Here" and "Command Window" here option in all right click menus without holding Shift for some.
Is there a way to add these to every right click menu (i.e., a drives, folders, and white space within a folder) with a single .reg file?
This question is different form this one
in that I am also including right clicking in the white space of a currently opened folder (not just clicking directly on a folder or drive).
powershell context-menu right-click
I've tried applying and editing the .reg files, for example, here and here
But can't seem to get a "PowerShell Here" and "Command Window" here option in all right click menus without holding Shift for some.
Is there a way to add these to every right click menu (i.e., a drives, folders, and white space within a folder) with a single .reg file?
This question is different form this one
in that I am also including right clicking in the white space of a currently opened folder (not just clicking directly on a folder or drive).
powershell context-menu right-click
powershell context-menu right-click
edited May 23 '17 at 12:41
Community♦
1
1
asked May 22 '15 at 19:48
blashmet
22
22
Yes there is. There must be. I remember having something set this up for me in Windows 95, and I wish it was easier to set these up yourself nowadays.
– Jarmund
May 22 '15 at 19:54
Possible duplicate of Can I add a Windows Explorer context menu option to start command prompt in the selected directory? See my answer there. The Extended verb should not be present in any of the 3 locations, i.e. Drive, Directory and DirectoryBackground.
– Karan
May 22 '15 at 22:26
"This question is different form this one" - No it isn't. Read my answer there carefully. Your use case is handled as well (I also mentioned it explicitly in my comment above). You mentioned 3 context menus; I mentioned 3 registry keys. Is this so hard to correlate?
– Karan
May 23 '15 at 0:14
Sorry, you are correct. I overlooked the third one. Thanks!
– blashmet
May 26 '15 at 17:54
add a comment |
Yes there is. There must be. I remember having something set this up for me in Windows 95, and I wish it was easier to set these up yourself nowadays.
– Jarmund
May 22 '15 at 19:54
Possible duplicate of Can I add a Windows Explorer context menu option to start command prompt in the selected directory? See my answer there. The Extended verb should not be present in any of the 3 locations, i.e. Drive, Directory and DirectoryBackground.
– Karan
May 22 '15 at 22:26
"This question is different form this one" - No it isn't. Read my answer there carefully. Your use case is handled as well (I also mentioned it explicitly in my comment above). You mentioned 3 context menus; I mentioned 3 registry keys. Is this so hard to correlate?
– Karan
May 23 '15 at 0:14
Sorry, you are correct. I overlooked the third one. Thanks!
– blashmet
May 26 '15 at 17:54
Yes there is. There must be. I remember having something set this up for me in Windows 95, and I wish it was easier to set these up yourself nowadays.
– Jarmund
May 22 '15 at 19:54
Yes there is. There must be. I remember having something set this up for me in Windows 95, and I wish it was easier to set these up yourself nowadays.
– Jarmund
May 22 '15 at 19:54
Possible duplicate of Can I add a Windows Explorer context menu option to start command prompt in the selected directory? See my answer there. The Extended verb should not be present in any of the 3 locations, i.e. Drive, Directory and DirectoryBackground.
– Karan
May 22 '15 at 22:26
Possible duplicate of Can I add a Windows Explorer context menu option to start command prompt in the selected directory? See my answer there. The Extended verb should not be present in any of the 3 locations, i.e. Drive, Directory and DirectoryBackground.
– Karan
May 22 '15 at 22:26
"This question is different form this one" - No it isn't. Read my answer there carefully. Your use case is handled as well (I also mentioned it explicitly in my comment above). You mentioned 3 context menus; I mentioned 3 registry keys. Is this so hard to correlate?
– Karan
May 23 '15 at 0:14
"This question is different form this one" - No it isn't. Read my answer there carefully. Your use case is handled as well (I also mentioned it explicitly in my comment above). You mentioned 3 context menus; I mentioned 3 registry keys. Is this so hard to correlate?
– Karan
May 23 '15 at 0:14
Sorry, you are correct. I overlooked the third one. Thanks!
– blashmet
May 26 '15 at 17:54
Sorry, you are correct. I overlooked the third one. Thanks!
– blashmet
May 26 '15 at 17:54
add a comment |
3 Answers
3
active
oldest
votes
Check that string value "extended" is either renamed or removed to turn of 'shift' requirement,
As for the other thing, add a string value named "NoWorkingDirectory"
This will allow both to appear even when no folder was clicked upon,
Read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.
– Pimp Juice IT
Sep 23 '17 at 14:59
add a comment |
Solution for PowerShell:
- “Win + R”, run regedit to open Registry Editor.
Go to the locations respectively:
HKEY_CLASSES_ROOTDirectoryshellPowershell
HKEY_CLASSES_ROOTDirectoryBackgroundshellPowershell
HKEY_CLASSES_ROOTDriveshellPowershell
For each key, right click the key on the left panel, “Permissions…”,
“Advanced”, change the owner to “Admistrators”, then assign “Full
Control” - “Allow” to “Admistrators”. Press “OK”.
- For each key, delete the “Extended” key on the right panel.
source
add a comment |
Windows Registry Editor Version 5.00
; Add_enhanced_cmd_and_powershell_to_menu.reg
; This adds Command and Powershell sub menu options
[HKEY_CLASSES_ROOTDirectoryBackgroundshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryBackgroundshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopen]
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopencommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunas]
"HasLUAShield"=""
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunascommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopen]
"Icon"="powershell.exe"
"MUIVerb"="PowerShell"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopencommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunas]
"HasLUAShield"=""
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunascommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f918401%2fadd-powershell-here-and-command-window-here-to-right-click-menu-for-drives%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check that string value "extended" is either renamed or removed to turn of 'shift' requirement,
As for the other thing, add a string value named "NoWorkingDirectory"
This will allow both to appear even when no folder was clicked upon,
Read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.
– Pimp Juice IT
Sep 23 '17 at 14:59
add a comment |
Check that string value "extended" is either renamed or removed to turn of 'shift' requirement,
As for the other thing, add a string value named "NoWorkingDirectory"
This will allow both to appear even when no folder was clicked upon,
Read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.
– Pimp Juice IT
Sep 23 '17 at 14:59
add a comment |
Check that string value "extended" is either renamed or removed to turn of 'shift' requirement,
As for the other thing, add a string value named "NoWorkingDirectory"
This will allow both to appear even when no folder was clicked upon,
Check that string value "extended" is either renamed or removed to turn of 'shift' requirement,
As for the other thing, add a string value named "NoWorkingDirectory"
This will allow both to appear even when no folder was clicked upon,
answered Sep 23 '17 at 13:50
MCTRASH692
1
1
Read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.
– Pimp Juice IT
Sep 23 '17 at 14:59
add a comment |
Read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.
– Pimp Juice IT
Sep 23 '17 at 14:59
Read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.
– Pimp Juice IT
Sep 23 '17 at 14:59
Read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.
– Pimp Juice IT
Sep 23 '17 at 14:59
add a comment |
Solution for PowerShell:
- “Win + R”, run regedit to open Registry Editor.
Go to the locations respectively:
HKEY_CLASSES_ROOTDirectoryshellPowershell
HKEY_CLASSES_ROOTDirectoryBackgroundshellPowershell
HKEY_CLASSES_ROOTDriveshellPowershell
For each key, right click the key on the left panel, “Permissions…”,
“Advanced”, change the owner to “Admistrators”, then assign “Full
Control” - “Allow” to “Admistrators”. Press “OK”.
- For each key, delete the “Extended” key on the right panel.
source
add a comment |
Solution for PowerShell:
- “Win + R”, run regedit to open Registry Editor.
Go to the locations respectively:
HKEY_CLASSES_ROOTDirectoryshellPowershell
HKEY_CLASSES_ROOTDirectoryBackgroundshellPowershell
HKEY_CLASSES_ROOTDriveshellPowershell
For each key, right click the key on the left panel, “Permissions…”,
“Advanced”, change the owner to “Admistrators”, then assign “Full
Control” - “Allow” to “Admistrators”. Press “OK”.
- For each key, delete the “Extended” key on the right panel.
source
add a comment |
Solution for PowerShell:
- “Win + R”, run regedit to open Registry Editor.
Go to the locations respectively:
HKEY_CLASSES_ROOTDirectoryshellPowershell
HKEY_CLASSES_ROOTDirectoryBackgroundshellPowershell
HKEY_CLASSES_ROOTDriveshellPowershell
For each key, right click the key on the left panel, “Permissions…”,
“Advanced”, change the owner to “Admistrators”, then assign “Full
Control” - “Allow” to “Admistrators”. Press “OK”.
- For each key, delete the “Extended” key on the right panel.
source
Solution for PowerShell:
- “Win + R”, run regedit to open Registry Editor.
Go to the locations respectively:
HKEY_CLASSES_ROOTDirectoryshellPowershell
HKEY_CLASSES_ROOTDirectoryBackgroundshellPowershell
HKEY_CLASSES_ROOTDriveshellPowershell
For each key, right click the key on the left panel, “Permissions…”,
“Advanced”, change the owner to “Admistrators”, then assign “Full
Control” - “Allow” to “Admistrators”. Press “OK”.
- For each key, delete the “Extended” key on the right panel.
source
answered Dec 16 at 23:56
qewghbjhb
33
33
add a comment |
add a comment |
Windows Registry Editor Version 5.00
; Add_enhanced_cmd_and_powershell_to_menu.reg
; This adds Command and Powershell sub menu options
[HKEY_CLASSES_ROOTDirectoryBackgroundshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryBackgroundshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopen]
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopencommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunas]
"HasLUAShield"=""
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunascommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopen]
"Icon"="powershell.exe"
"MUIVerb"="PowerShell"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopencommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunas]
"HasLUAShield"=""
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunascommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
add a comment |
Windows Registry Editor Version 5.00
; Add_enhanced_cmd_and_powershell_to_menu.reg
; This adds Command and Powershell sub menu options
[HKEY_CLASSES_ROOTDirectoryBackgroundshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryBackgroundshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopen]
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopencommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunas]
"HasLUAShield"=""
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunascommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopen]
"Icon"="powershell.exe"
"MUIVerb"="PowerShell"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopencommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunas]
"HasLUAShield"=""
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunascommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
add a comment |
Windows Registry Editor Version 5.00
; Add_enhanced_cmd_and_powershell_to_menu.reg
; This adds Command and Powershell sub menu options
[HKEY_CLASSES_ROOTDirectoryBackgroundshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryBackgroundshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopen]
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopencommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunas]
"HasLUAShield"=""
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunascommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopen]
"Icon"="powershell.exe"
"MUIVerb"="PowerShell"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopencommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunas]
"HasLUAShield"=""
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunascommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
Windows Registry Editor Version 5.00
; Add_enhanced_cmd_and_powershell_to_menu.reg
; This adds Command and Powershell sub menu options
[HKEY_CLASSES_ROOTDirectoryBackgroundshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryBackgroundshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopen]
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellopencommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunas]
"HasLUAShield"=""
"Icon"="cmd.exe"
"MUIVerb"="Command Prompt Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuCmdshellrunascommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopen]
"Icon"="powershell.exe"
"MUIVerb"="PowerShell"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellopencommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunas]
"HasLUAShield"=""
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Elevated"
[HKEY_CLASSES_ROOTDirectoryContextMenusMenuPowerShellshellrunascommand]
@="powershell.exe -noexit -command Set-Location '%V'"
[HKEY_CLASSES_ROOTDirectoryshell1MenuCmd]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuCmd"
"Icon"="cmd.exe"
"MUIVerb"="Command Prompts"
[HKEY_CLASSES_ROOTDirectoryshell2MenuPowerShell]
"ExtendedSubCommandsKey"="DirectoryContextMenusMenuPowerShell"
"Icon"="powershell.exe"
"MUIVerb"="PowerShell Prompts"
answered Dec 17 at 5:06
bobkush
29328
29328
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f918401%2fadd-powershell-here-and-command-window-here-to-right-click-menu-for-drives%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Yes there is. There must be. I remember having something set this up for me in Windows 95, and I wish it was easier to set these up yourself nowadays.
– Jarmund
May 22 '15 at 19:54
Possible duplicate of Can I add a Windows Explorer context menu option to start command prompt in the selected directory? See my answer there. The Extended verb should not be present in any of the 3 locations, i.e. Drive, Directory and DirectoryBackground.
– Karan
May 22 '15 at 22:26
"This question is different form this one" - No it isn't. Read my answer there carefully. Your use case is handled as well (I also mentioned it explicitly in my comment above). You mentioned 3 context menus; I mentioned 3 registry keys. Is this so hard to correlate?
– Karan
May 23 '15 at 0:14
Sorry, you are correct. I overlooked the third one. Thanks!
– blashmet
May 26 '15 at 17:54