- dotTech - http://dottech.org -

How to add Command Prompt to Windows right-click context menu [Guide]

Posted By MatthewA On April 3, 2014 @ 6:32 PM In Windows | 2 Comments

The Command Prompt is the last remnant of DOS on Windows. You can add a shortcut to the Command Prompt on the Windows Explorer right-click context menu. Then you can right-click a folder, and select the Command Prompt to open in that folder’s location.

To do so, open Run with the Win + R shortcut; and then input regedit before clicking OK. Regedit should open in a window from where you browse to HKEY_CLASSES_ROOT\Directory\shell.

Then you should right-click the shell key and select New > Key. Right-click the new key, click Rename and type Command Prompt as its title. Select the Command Prompt key, and then double-click its (Default) value. Then input Command Prompt Here as below.

CommandPrompt1 [1]

Right-click the Command Prompt key and select New > Key again. This time input Command as the key’s title. Double-click its (Default) value, and type in cmd.exe /k cd %1 for its value data. Then click OK to close the window, and open Windows Explorer.

CommandPrompt2 [2]

Now right-click any one of the Window Explorer folders. You should find that the context menu now includes a Command Prompt Here option/shortcut as in the shot below. Click on it to open the Command Prompt which will also open at the folder’s location.

Command Prompt 3 [3]

The Command Prompt Here context menu option gives more direct access to the Command Prompt. With it you can also select a folder for the Command Prompt to open with. From there you can then open software and documents without having to specify their exact folder location in Command Prompt.


Article printed from dotTech: http://dottech.org

URL to article: http://dottech.org/149140/how-to-add-command-prompt-to-windows-right-click-context-menu-guide/

URLs in this post:

[1] Image: https://dottech.org/wp-content/uploads/2014/02/CommandPrompt1.jpg

[2] Image: https://dottech.org/wp-content/uploads/2014/02/CommandPrompt21.jpg

[3] Image: http://dottech.org/wp-content/uploads/2014/02/Command-Prompt-3.jpg

© 2008-2012 dotTech.org | All content is the property of its rightful owner.