码迷,mamicode.com
首页 > Windows程序 > 详细

win10右键管理员/非管理员打开cmd

时间:2020-01-12 18:39:11      阅读:139      评论:0      收藏:0      [点我收藏+]

标签:div   col   enc   gis   roo   windows   右键   command   runas   

//管理员
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]
@="Cmd"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]
@="cmd.exe /s /k pushd "%V""

[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]
@="Cmd"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere]
@="Cmd"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere]
@="Cmd"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\command]
@="cmd.exe /s /k pushd \"%V\""

 

 

//非管理员
Windows Registry Editor Version 5.00   
      
[-HKEY_CLASSES_ROOT\Directory\shell\runas]  
  
[HKEY_CLASSES_ROOT\Directory\shell\runas]  
@="Cmd as Admin"    
"HasLUAShield"="" 
"Icon"="cmd.exe" 
      
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]     
@="cmd.exe /s /k pushd \"%V\""  
      
[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]  
      
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]  
@="Cmd as Admin"  
"HasLUAShield"=""  
"Icon"="cmd.exe"
      
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]  
@="cmd.exe /s /k pushd \"%V\""  
      
[-HKEY_CLASSES_ROOT\Drive\shell\runas]  
[HKEY_CLASSES_ROOT\Drive\shell\runas]  
@="Cmd as Admin"  
"HasLUAShield"=""  
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOT\Drive\shell\runas\command]  
@="cmd.exe /s /k pushd \"%V\""

win10右键管理员/非管理员打开cmd

标签:div   col   enc   gis   roo   windows   右键   command   runas   

原文地址:https://www.cnblogs.com/pbblogs/p/12183106.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!