1. Home
  2. Windows

Windows Vista/7: (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. cmdprompt-01-context

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
;Context-menu for drives
;For context-menu when you right-click in the empty/blank space within a folder


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.

Leave a comment