Add the "Use cmd command to open" menu for your folder

Source: Internet
Author: User

In recent projects, it is often troublesome to use some Python commands to open the cmd window and then pushd or CD to a folder. So, why not add the right "pushd" command to the "folder"?

With purpose, everything seems to be a simple one.

Baidu has a bunch, can only find the first, in the folder right-click (not the blank area). The following images:

The addition method is:

Registration form:

Hkey_local_machine\software\classes\directory\shell

Add a piece of your own, such as myCMD, to the screenshot below:

This map, first set the menu name to be displayed, I use the @shell32. dll,-8506, which is a string that uses the system, you can change to any string, such as "Open with cmd".

Then Setup cmd and its commands:

So how do I add a right menu to the folder's blank area? A conscientious, the day is not negative, and finally was I found.

Registration Form Address:

Hkey_local_machine\software\classes\directory\background\shell

Attention is background under.

Set the command with the above as a deal.

It feels no longer so correcting.

Add the "Use cmd command to open" menu for your folder

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.