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. View in gallery
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_ROOT\Directory\shell\cmd] "Extended"=- ;Context-menu for drives [HKEY_CLASSES_ROOT\Drive\shell\cmd] "Extended"=- ;For context-menu when you right-click in the empty/blank space within a folder [HKEY_CLASSES_ROOT\Directory\Background\shell\cmd] "Extended"=-
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.