mirage-mc

说明

转载于https://blog.csdn.net/linysuccess/article/details/79179799

步骤

  • 新建txt文件并输入如下内容
Windows Registry Editor Version 5.00
 
 
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cmd_here]
 
@="在cmd打开"
"Icon"="cmd.exe"
 
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cmd_here\command]
 
@="\"C:\\Windows\\System32\\cmd.exe\""
 
 
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdPrompt]
 
@="在cmd打开"
 
 
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdPrompt\command]
 
@="\"C:\\Windows\\System32\\cmd.exe\" \"cd %1\""
 
 
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd_here]
 
@="在cmd打开"
"Icon"="cmd.exe"
 
 
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd_here\command]
 
@="\"C:\\Windows\\System32\\cmd.exe\""
  • 将文件后缀改成reg,然后双击确认即可。

问题

可能会出现乱码问题,这个牵扯到Windows编码和记事本所采用的编码是不是同样的方式,如果有乱码直接打开注册表编辑器,逐个修改上述出现的文字就可以。

分类:

技术点:

相关文章:

  • 2022-01-19
  • 2022-01-16
  • 2021-11-02
  • 2021-12-29
  • 2021-11-20
  • 2021-12-08
  • 2022-12-23
猜你喜欢
  • 2021-11-30
  • 2021-11-02
  • 2021-09-27
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案