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