http://xiangai.taobao.com
http://shop148612228.taobao.com

在此处打开OpenPowershellHere右键 在此处打开命令窗口右键

windows 10  右键添加在本文件夹打开cmd  或prowershell

在此处打开OpenPowershellHere右键

 

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\OpenPowershellHere]
@="OpenPowershellHere"
"Icon"="powershell.exe"
[HKEY_CLASSES_ROOT\Directory\shell\OpenPowershellHere\command]
@="PowerShell -windowstyle hidden -Command \"Start-Process powershell.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenPowershellHere]
@="OpenPowershellHere"
"Icon"="powershell.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenPowershellHere\command]
@="PowerShell -windowstyle hidden -Command \"Start-Process powershell.exe\""
[HKEY_CLASSES_ROOT\Drive\shell\OpenPowershellHere]
@="OpenPowershellHere"
"Icon"="powershell.exe"
[HKEY_CLASSES_ROOT\Drive\shell\OpenPowershellHere\command]
@="PowerShell -windowstyle hidden -Command \"Start-Process powershell.exe\""
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenPowershellHere]
@="OpenPowershellHere"
"Icon"="powershell.exe"
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenPowershellHere\command]
@="PowerShell -windowstyle hidden -Command \"Start-Process powershell.exe\""

 

 

在此处打开命令窗口右键

 

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]
@="OpenCmdHere"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]
@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]
@="OpenCmdHere"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command]
@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe\""
[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere]
@="OpenCmdHere"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command]
@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe\""
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere]
@="OpenCmdHere"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\command]
@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe\""

以上代码.保存为注册表文件 .reg  双击运行就可以了...

posted @ 2018-05-08 09:51  万事俱备就差个程序员  阅读(591)  评论(0编辑  收藏  举报

http://xiangai.taobao.com
http://shop148612228.taobao.com
如果您觉得对您有帮助.领个红包吧.谢谢.
支付宝红包
微信打赏 支付宝打赏