Win10.Shift+鼠标右键_CMD(管理员)

1、资料:

 1.1、Windows10下设置Shift+右键增加cmd - wyx0712的博客 - CSDN博客.html(https://blog.csdn.net/wyx0712/article/details/82120806

  ZC:这里弄的 注册表 表项较多,我感觉值需要使用 下面这篇文章中的就可以(没有测试,不能确定...)

 

Windows Registry Editor Version 5.00
 
 
[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
 
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
@="在此处打开命令行窗口(管理员)"
"Extended"=""
"HasLUAShield"=""
 
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
 
;ZC: 这个我在Win7x64中没找到这里有设置... HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command 有
;ZC: (20191108)Win10x64 中仅新建了上面的位置&值,文件夹中 就有 右键管理员CMD了。(无需重启OS,貌似也不需要新开文件夹窗口...) [
-HKEY_CLASSES_ROOT\Drive\shell\runas] [HKEY_CLASSES_ROOT\Drive\shell\runas] @="在此处打开命令行窗口(管理员)" "Extended"="" "HasLUAShield"="" [HKEY_CLASSES_ROOT\Drive\shell\runas\command] @="cmd.exe /s /k pushd \"%V\"" ;ZC: 没找到,但是 HKEY_CLASSES_ROOT\Drive\shell\cmd\command 这里有


[
-HKEY_CLASSES_ROOT\LibraryFolder\background\shell\runas] [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\runas] "Extended"="" "HasLUAShield"="" @="在此处打开命令行窗口(管理员)" [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\runas\command]

;ZC: 没找到...

  ZC:难道是 ∵我 Win7x64是用Administrator登陆的,∴打开CMD就是管理员权限 的缘故? 但是文章里面的 非管理员的 这个路径:"HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere",我在 Win7x64里面也没有找到...

 

 1.2、win10 64位如何按住shift右键空白处来在此处打CMD窗口__百度知道.html(https://zhidao.baidu.com/question/653494725238811005.html

Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\cmd]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\cmd\command]
@="cmd.exe /s /k pushd \"%V\""

  ZC:这里的设置,我对比了一下 Win7x64里面的注册表,里面是有一模一样的设置在里面的,不知道是不是只需要这里的设置就行??

  ZC:在Win7x64的 注册表里面搜索“cmd.exe /s /k pushd "%V"”还是有很多地方的... 搜“@shell32.dll,-8506”也有很多...

  ZC:看了下,Win10x64中 该路径的该位置 里面是有值的,且 值是相同的

2、

3、

4、

5、

 

posted @ 2019-11-06 10:38  OsSkill  阅读(653)  评论(0编辑  收藏  举报