The friends who like to use cmd command lines all have a headache: How to quickly open CMD and locate the specified path?
Solution:
1. Modify the folder opening Mode
Keys/K cd % 1 "(this is the key). Just confirm.
Right-click any folder or partition and click "cmd express connect" to open the CMD command line.
2. Modify the Registry
In hkey_classes_root \ Folder \ Users
/K cd % 1 ". In the Registry file:
Windows Registry Editor Version 5.00
[Hkey_classes_root \ Folder \ shell \ use the CMD command to open]
[Hkey_classes_root \ Folder \ shell \ use the CMD command to open \ command]
@ = "Cmd.exe/K cd % 1"
The essence of the two methods is to modify the registry.
In addition, there are many ways to modify the Registry on the Internet. The key value hkey_classes_root \ directory is modified, and the effect is basically the same, however, "cmd express connect" can only be displayed when you right-click a folder. When you click a partition, my documents, or other special folders, it cannot be used. It is not as convenient as the preceding method.