- 修改注册表
1.键入 【WIN + R 】----输入【cmd】---键入【Enter】
image.png
2.输入 【regedit】---键入【Enter】
打开注册表
image.png
3.打开左侧文件夹根据路径HKEY_CURRENT_USER\Software\Microsoft\Command Processor 找到文件夹
修改 Command Processor (cdm全名) 的注册表
image.png
4.右击---新建---字符串值---输入【autorun】
image.png
5.选中新建的 autorun ---右击---修改 数值数据为【cd/D D:/】---确定
image.png
6.完成!
image.png
需要输入的命令
cmd
regedit
cd/D D:/