Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

command prompt anywhere in Windows 7 (native functionality)

I got this tip from a website that "shift + right click" on a folder in explorer in win7 will give us a context menu option by which I can open command prompt right there.

I am looking for a hack that can make this simpler so that whenever I "right click" on a folder in explorer, I always get that "shift + right click" effect.

I am not looking for any info on powertoys.

I need help on exactly what I said above; there has to be some registry hack that makes that "shift" default for every right click on the folder name.

like image 696
bits Avatar asked Oct 14 '10 00:10

bits


People also ask

What can I do with Command Prompt in Windows 7?

It can be used to execute entered commands and perform advanced administrative functions. It can also be used to troubleshoot and solve certain kinds of Windows issues.

How do I Run a Command Prompt in Windows 7?

For Windows 7, click the 'Start' button and type 'command' in the search box, and then click on 'Restart. ' While the system reboots, repeatedly press the 'F8' button until the boot menu displays on your screen. Select 'Safe Mode with Command Prompt' and then press 'Enter.

What is the purpose of Command Prompt?

A command prompt is the input field in a text-based user interface screen for an operating system (OS) or program. The prompt is designed to elicit an action. The command prompt consists of a brief text string followed by a blinking cursor, which is where the user types command prompt commands.


2 Answers

Delete the registry key HKCR\Directory\shell\cmd\Extended. It works for me on the 64-bit version of Windows 7 Ultimate.

http://www.addictivetips.com/windows-tips/windows-7-elevated-command-prompt-in-context-menu/ says you also need to delete HKCR\Drive\shell\cmd\Extended if you want the same to apply for drives shown in Computer, and HKCR\Directory\Background\shell\cmd\Extended for the empty space inside a folder window.

like image 152
PleaseStand Avatar answered Sep 30 '22 09:09

PleaseStand


I also had the same question about viewing the cmd prompt without the key combination recently. I am on Windows 8.1 and found that PleaseStand's solution works perfectly.

PleaseStand's solution mentioned worked great for me:

Delete the registry key HKCR\Directory\shell\cmd\Extended. It works for me on the 64-bit version of Windows 7 Ultimate.

This says you also need to delete HKCR\Drive\shell\cmd\Extended if you want the same to apply for drives shown in Computer,

And HKCR\Directory\Background\shell\cmd\Extended for the empty space inside a folder window.

I might add to anyone who might wonder, HKCR means HKEY_CLASSES_ROOT

like image 20
Frankie Loscavio Avatar answered Sep 30 '22 09:09

Frankie Loscavio