参考:https://jingyan.baidu.com/article/295430f189e64d0c7e0050b7.html 使用win+r打开 运行 输入 regedit 打开注册表 进入HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\CompletionCha 双击CompletionChar, 将值改为9,选择十进制,点击确定 5 以后运行CMD的时候 输入首字母按住 TAB键就能自动补全输入的命令了。