將打開命令行添加在系統菜單欄裏 出現openCmdhere
1.複製下面內容
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]
@=“openCmdhere”
“Icon”=“cmd.exe”
[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]
@=“cmd.exe /s /k pushd “%V””
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]
@=“openCmdhere”
“Icon”=“cmd.exe”
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command]
@=“cmd.exe /s /k pushd “%V””
[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere]
@=“openCmdhere”
“Icon”=“cmd.exe”
[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command]
@=“cmd.exe /s /k pushd “%V””
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere]
@=“openCmdhere”
“Icon”=“cmd.exe”
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\command]
@=“cmd.exe /s /k pushd “%V””
2.新建txt文件並將內容粘貼進去
3.將.txt文件後綴改成.reg格式
4雙擊運行