How to add cmd in the Windows Explorer right-click menu

Source: Internet
Author: User

We often need to execute some DOS commands in a directory when we are using Windows, usually we will type: cmd in the Start menu, open the DOS command window, and then the CD to the target operation directory, each time it is more troublesome. Here is a small way to directly open the DOS command window in the explorer.

I. Right-click menu for any directory or file not selected

1. Open "Registry Editor" to find "Hkey_classes_root\directory\background\shell"

2. New Item "Open at command Prompt"

3. In the above item, create new Item "command" again

4. Add a value for the item command: cmd.exe/s/k pushd "%V"

Effect:

Two. Add the right-click menu for the selected directory

1. Also open Registry Editor to find the item "Hkey_classes_root\folder\shell"

2. Follow the same procedure

How to add cmd in the Windows Explorer right-click menu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.