WIN11在此处运行命令提示符

新建文本文档,粘贴以下内容,另存为cmdhere.reg,编码选择ANSI,保存运行即可。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\在此处运行命令提示符]
@="在此处运行命令提示符"
"Icon"="cmd.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\在此处运行命令提示符\command]
@="\"C:\Windows\System32\cmd.exe\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdPrompt]
@="在此处运行命令提示符"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdPrompt\command]
@="\"C:\Windows\System32\cmd.exe\" \"cd %1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\在此处运行命令提示符]
@="在此处运行命令提示符"
"Icon"="cmd.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\在此处运行命令提示符\command]
@="\"C:\Windows\System32\cmd.exe\""

Powered by WordPress. Theme by Alx.