Win10如何在右键菜单中添加“在此处打开命令窗口”设置项?在Win10创意者更新中,命令提示符已被Powershell取代,然而很多用户并不适应,如果大家还是想继续使用命令提示符,那么可以在桌面右键菜单中添加“在此处打开命令窗口”设置项,那么该如何操作呢?具体步骤请看下文。
Win10如何在右键菜单中添加“在此处打开命令窗口”设置项?
1、在设置前,系统右键菜单如下图所示,并没有“在此处打开命令窗口”;
2、打开记事本,将如下内容复制到记事本中;
01Windows Registry Editor Version 5.0002[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]03@="在此处打开命令提示符"04"Icon"="cmd.exe"05[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]06@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs\""07[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]08@="在此处打开命令窗口"09"Icon"="cmd.exe"10[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command]11@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs\""12[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere]13@="在此处打开命令窗口"14"Icon"="cmd.exe"15[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command]16@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs\""17[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere]18@="在此处打开命令窗口"19"Icon"="cmd.exe"20[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\command]21@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs\""复制代码Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]@="在此处打开命令提示符""Icon"="cmd.exe"[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs\""[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]@="在此处打开命令窗口""Icon"="cmd.exe"[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command]@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs\""[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere]@="在此处打开命令窗口""Icon"="cmd.exe"[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command]@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs\""[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere]@="在此处打开命令窗口""Icon"="cmd.exe"[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\command]@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs\""
相关文章