How to add a cmd command to the right-click menu under Windows
As often to use to the cmd command, in order to eliminate the need to reopen the CMD window after each layer to find the target path of trouble, find a way to add the cmd command to the right-click menu, so that the target path can be directly right-click, the implementation method is as follows:
- Open the Registry
Win+r shortcut key to open the "Run" window, enter regedit and click "OK" to open the Registry Editor
Add Registration Entry
1, find the [Hkey_classess_root\folder\shell] sub-key in the left, then create a new "Cmdprompt" subkey under it, right-click on the Name column on the right side of the window-Modify, change the value data to "Open command line", OK, such as:
2. Under this key, create a new "command" subkey, and modify the value data to C:\windows\system32\cmd.exe CD "%1" as follows:
At this point, find a folder right click to see the "Open command line" option appears in the right-click menu, you can use.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
How to add a cmd command to the right-click menu under Windows