Elevated Command Prompt In Context Menu

In Windows Vista/7, when you press SHIFT while right-clicking on a folder, drive, or in the blank space in an Explorer window, the extended context menu will show the option to ‘Open [a] command window here’. This will open up a Command Prompt window with the path you’re the residing in as current directory.

There’s an easy way to show this function into the default context menu as well. Just download the registry tweak below, double-click on it and accept the User Account Control prompt. Or you can add one yourself that opens a Command Prompt with administrator privileges.

Contents of registry file

Windows Registry Editor Version 5.00
;Show 'open command window here' on right-click without having to press shift
;Context-menu for folders
[HKEY_CLASSES_ROOTDirectoryshellcmd]
"Extended"=-
;Context-menu for drives
[HKEY_CLASSES_ROOTDriveshellcmd]
"Extended"=-
;For context-menu when you right-click in the empty/blank space within a folder
[HKEY_CLASSES_ROOTDirectoryBackgroundshellcmd]
"Extended"=-

cmdprompt 02 cmdwindow Windows Vista/7: (Elevated) Command Prompt In Context Menu

Open as Administrator

If you want to open an elevated Command Prompt window (with administrator privileges), you can use the second link below to add the entry in your context menu.

Download Command Prompt Context Menu Tweak

Download Command Prompt Context Menu (Administrator) Tweak

Credit for the elevated command prompt registry solution goes to BlogsDNA.

قالب وردپرس

About Alyse Kalish

Alyse Kalish
As an Associate Editor for The SalesJobInfo, Alyse is proud to prove that yes, English majors can change the world. She calls many places home, including Illinois where she grew up and the small town of Hamilton where she attended Colgate University, but she was born to be a New Yorker. In addition to being an avid writer, Alyse loves to dance, both professionally and while waiting for the subway.

Leave a Reply

Your email address will not be published. Required fields are marked *